SmartClient Version: SNAPSHOT_v13.1d_2024-08-05/AllModules Development Only (built 2024-08-05)
Hello, please try this test case:
is it expected that, after typing something in the comboBox, the first click con the "clear" icon just closes the pickList, so that a second click on the icon is required to actually clear the value?
Hello, please try this test case:
Code:
isc.DynamicForm.create({ width: 500, numCols: 4, isGroup: true, groupTitle: "List - ComboBox", wrapItemTitles: false, fields : [{ name: "itemName", title: "Item Name", editorType: "ComboBoxItem", optionDataSource: "supplyItem", pickListWidth: 250, suppressBrowserClearIcon:true, icons: [{ name: "clear", src: "[SKINIMG]actions/close.png", width: 10, height: 10, inline: true, prompt: "Clear this field", click : function (form, item, icon) { item.clearValue(); item.focusInItem(); } }], iconWidth: 16, iconHeight: 16 }] });
Comment