Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    "Clear" icon in comboBox requires two clicks

    SmartClient Version: SNAPSHOT_v13.1d_2024-08-05/AllModules Development Only (built 2024-08-05)

    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
        }]
    });
    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?

    #2
    Hi Claudio
    We've reviewed your usage and we agree that this while this behavior is arguably logical it is not intutive or familiar to users.

    We've made a change that should allow the user to clear the ComboBoxItem value with a single click on the "clear" icon, even while the pickList is visible.

    Please try the next nightly build dated Aug 12 or above.

    We've made this change in the 13.1 branch and ported back to 13.0 as well

    Regards
    Isomorphic Software

    Comment


      #3
      SmartClient Version: SNAPSHOT_v13.1d_2024-08-13/AllModules Development Only (built 2024-08-13)

      I see it's fixed, thank you very much

      Comment

      Working...
      X