Announcement

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

    Change event handler not called when specialValue:all is selected

    If I add this item:

    Code:
     {
            name: "multipleSelect2", title: "Select all items2", editorType: "SelectItem", 
            valueMap:{"A":"A","B":"B"},
            multiple: true,
            specialValues: { "**emptyValue**": "Select None", "**selectAllValues**": "Select All" },
            //separateSpecialValues: true,
                        changed: function(form,item,value){
                            console.log("changed:",value);
                        },
                        change: function(form,item,value){
                            console.log("change:",value);
                        }
        }
    to this demo:
    https://www.smartclient.com/smartcli...=specialValues

    then I'm seeing that neither change nor changed is called when I select the "Select All" option. The callbacks are triggered when the "Select None" option is selected.


    Also, if I uncomment the separateSpecialValues line, then I am seeing the keys of the specialValues object appear in the list instead of the values.

    Thanks,
    Amos.

    #2
    Both of these issues have been corrected in SmartClient 11.0+ in builds of Aug 3 and later.

    Comment

    Working...
    X