Hi,
Browser: @chrome - Version 31.0.1650.63 m
Smart-Client : SmartClient_v91p_2014-07-23_Pro
Am facing weird problem, when I set this flag
showHintInField : true
Issue : When I call "resetValue()" from comboBoxItem it is not clearing the field, it retains the value from _pendingElementValue,
Problem can be reproduced on the SmartClient Combo Filter example on http://www.smartclient.com/#comboFilterRelated
Reproduce Steps in Smart-Client site - with below code
1. Enter any unknown value in "ComboBoxItem" field.
2. Click reset Button, without tabbing out directly using mouse.
Thanks,
Anand L
Browser: @chrome - Version 31.0.1650.63 m
Smart-Client : SmartClient_v91p_2014-07-23_Pro
Am facing weird problem, when I set this flag
showHintInField : true
Issue : When I call "resetValue()" from comboBoxItem it is not clearing the field, it retains the value from _pendingElementValue,
Problem can be reproduced on the SmartClient Combo Filter example on http://www.smartclient.com/#comboFilterRelated
Reproduce Steps in Smart-Client site - with below code
1. Enter any unknown value in "ComboBoxItem" field.
2. Click reset Button, without tabbing out directly using mouse.
Code:
var filteredCombo = {
name: "filteredCombo",
title: "Item (ComboBox)",
editorType: "ComboBoxItem",
addUnknownValues:false,
optionDataSource: "supplyItem",
displayField:"itemName",
valueField:"SKU",
filterFields:["SKU", "itemName"],
pickListWidth:300,
sortField : 'SKU',
showHintInField : true,
criteriaProperties : null,
textMatchStyle : 'substring',
sortDirection : 'ascending',
hint : 'hint text',
pickListFields:[
{name:"SKU"},
{name:"itemName"}
]
};
var myButton = isc.IButton.create({
title:"Reset",
left:200,
top:200,
click: function()
{
comboItem.getItem("filteredCombo").resetValue();
}
});
var comboItem = isc.DynamicForm.create({
ID:"comboItem ",
numCols:1,
fields : [
filteredCombo
]
});
HLayout.create
({
width : '100%',
layoutMargin : 0,
membersMargin : 10,
members :[comboItem, myButton]
});Anand L