Hi Isomorphic,
I played around with your code from here (v12.0p_2018-11-20) in this sample and found a bug and have an enhancement suggestion.
Best regards
Blama
I played around with your code from here (v12.0p_2018-11-20) in this sample and found a bug and have an enhancement suggestion.
Code:
var suppliesForm = isc.DynamicForm.create({ top: 115, ID: "selectedSupplyItems", width: "100%", numCols: 1, titleOrientation: "top", items: [{ name: "supplies", title: "MultiComboBoxItem+tree", editorType: "MultiComboBoxItem", comboBoxProperties: { dataSetType: "tree", textMatchStyle: "substring", minimumSearchLength: 2 }, optionDataSource: "supplyCategory", displayField: "categoryName", valueField: "categoryName", autoFetchData: true },{ name: "supplies3", title: "ComboBoxItem+tree", editorType: "ComboBoxItem", optionDataSource: "supplyCategory", textMatchStyle: "substring", dataSetType: "tree", displayField: "categoryName", minimumSearchLength: 2, valueField: "categoryName", autoFetchData: true },{ name: "supplies2", title: "ComboBoxItem", editorType: "ComboBoxItem", optionDataSource: "supplyCategory", textMatchStyle: "substring", displayField: "categoryName", minimumSearchLength: 2, valueField: "categoryName", autoFetchData: true }] });
- If you start slowly typing "Kits" in the MultiComboBoxItem+tree or ComboBoxItem+tree, you'll see requests for "Ki", "Kit", "Kits", while the 1st one should have been enough, as it returns all (=0) matching records and the others can't possibly find more entries, so client side filtering should be applied. This is working as expected in the normal ComboBoxItem.
- As an (possibly big) enhancement you could search also children for the value and then open all parent nodes on the way to the found children, so that one can find "First Aid Kits" by typing "kits" without opening / knowing about "First Aid" before.
Best regards
Blama
Comment