Hi there,
Seems that the MultiComboBoxItem does fail removing options.
We are adding after several actions in the view one item after another. The user can remove the items after they have been added.
When removing an item there seems to be something wrong and only the its of the previous selected options are printed out.
Reproducable with the latest nightly (SmartClient_v101p_2016-01-27_Pro) and current browsers
Code for reproduction:
Regards
Seems that the MultiComboBoxItem does fail removing options.
We are adding after several actions in the view one item after another. The user can remove the items after they have been added.
When removing an item there seems to be something wrong and only the its of the previous selected options are printed out.
Reproducable with the latest nightly (SmartClient_v101p_2016-01-27_Pro) and current browsers
Code for reproduction:
Code:
isc.Button.create({ "ID" : "a", "click" : function () { theMultiComboBoxItem.setValueMap({ 1 : "AAA" }); theMultiComboBoxItem.setValue([1]); theForm.markForRedraw(); }, "title" : "Action 1", }); isc.Button.create({ "ID" : "b", left : 100, "click" : function () { theMultiComboBoxItem.setValueMap({ 1 : "AAA", 2 : "BBB" }); theMultiComboBoxItem.setValue([2, 1]); theForm.markForRedraw(); }, "title" : "Action 2", }); isc.Button.create({ "ID" : "c", left : 200, "click" : function () { theMultiComboBoxItem.setValueMap({ 1 : "AAA", 2 : "BBB", 3 : "CCC" }); theMultiComboBoxItem.setValue([3, 2, 1]); theForm.markForRedraw(); }, "title" : "Action 3", }); isc.VLayout.create({ "ID" : "theRootLayout", "hideUsingDisplayNone" : false, "leaveScrollbarGap" : false, top : 50, "members" : [ isc.DynamicForm.create({ "ID" : "theForm", "width" : "100%", "padding" : 4, "hideUsingDisplayNone" : false, "autoFocus" : true, "selectOnFocus" : true, "validateOnExit" : true, "saveOnEnter" : true, "readOnlyDisplay" : "static", "fields" : [{ "ID" : "theMultiComboBoxItem", "name" : "theMultiComboBoxItem", "title" : "Liste", "editorType" : "MultiComboBoxItem", "showTitle" : true, "width" : 200, "height" : 3, "iconWidth" : 16, "iconHeight" : 16, "readOnlyDisplay" : "static", "layoutStyle" : "verticalReverse", "comboBoxProperties" : { "type" : "text", "editorType" : "comboBox", "height" : 0, "iconWidth" : 16, "iconHeight" : 16, "visible" : true, "readOnlyDisplay" : "static", "textMatchStyle" : "substring", "allowEmptyValue" : true }, "valueMap" : {} } ], "values" : { "theMultiComboBoxItem" : [] } }) ] })
Comment