SmartClient Version: v9.1p_2016-04-15/Pro Development Only (built 2016-04-15)
Google Chrome Version 56.0.2924.87 (64-bit)
We are looking to create a ComboBox item with multiple selection, very similar to the component demonstrated in SmartClient showcase: https://www.smartclient.com/smartcli...rolMultiSelect. The showcase demonstrates a "Select Item" with multiple selection which does not allow the user to filter by searching. We tried to change the type of the form item to a ComboBox so that we could search while having multiple selection. This changed caused some strange issues compared to its SelectItem counterpart.
Steps to reproduce the issue (please see attached image for issue):
- Open the menu and select multiple entries (i.e., "Cat" and "Dog")
- Close the menu by clicking outside of the menu
- Open the menu again
Notice that the first item "Cat" is selected. "Dog" has been unselected but the ComboBox text value shows "Cat, Dog". We were expecting to have the selected items reflect the ComboBox value (text value: "Cat, Dog", items selected: "Cat" and "Dog").
Is this a bug on SmartClient or is there another way to do this?
Thanks!
Google Chrome Version 56.0.2924.87 (64-bit)
We are looking to create a ComboBox item with multiple selection, very similar to the component demonstrated in SmartClient showcase: https://www.smartclient.com/smartcli...rolMultiSelect. The showcase demonstrates a "Select Item" with multiple selection which does not allow the user to filter by searching. We tried to change the type of the form item to a ComboBox so that we could search while having multiple selection. This changed caused some strange issues compared to its SelectItem counterpart.
Steps to reproduce the issue (please see attached image for issue):
- Open the menu and select multiple entries (i.e., "Cat" and "Dog")
- Close the menu by clicking outside of the menu
- Open the menu again
Notice that the first item "Cat" is selected. "Dog" has been unselected but the ComboBox text value shows "Cat, Dog". We were expecting to have the selected items reflect the ComboBox value (text value: "Cat, Dog", items selected: "Cat" and "Dog").
Is this a bug on SmartClient or is there another way to do this?
Thanks!
Code:
isc.DynamicForm.create({ ID:"exampleForm", width:450, fields: [ { editorType: "comboBox", title:"ComboBox Multiple (PickList)", multiple:true, multipleAppearance:"picklist", valueMap: [ "Cat", "Dog", "Giraffe", "Goat", "Marmoset", "Mouse" ] } ] });
Comment