Hi Isomorphic,
please see this sample in the online showcase (v10.1p_2017-07-19 and SNAPSHOT_v12.0d_2017-07-19)
I'm wondering why there is a fetch on the dropdown list on load.
I'd expect only two fetchMissingValueReply-requests. This is the case when you use type: "comboBox". IMHO there shouldn't be a difference here between comboBox and select.
And out of interest: Why are two requests queued, which is not the case if I only create one of the two SelectItems?
Testcase:
Testcase with only one SelectItem:
Best regards
Blama
please see this sample in the online showcase (v10.1p_2017-07-19 and SNAPSHOT_v12.0d_2017-07-19)
Code:
isc.DynamicForm.create({ width: 300, height: 30, fields: [ { ID: "testDefaultValue", optionDataSource: "supplyItem", name: "item", type: "select", displayField: "itemName", sortField: "itemID", valueField: "itemID", title: "Item with defaultValue", pickListHeight: 100, defaultValue: 2, } ] }); isc.DynamicForm.create({ width: 300, height: 30, top: 100, fields: [ { ID: "testValue", optionDataSource: "supplyItem", name: "item", type: "select", displayField: "itemName", sortField: "itemID", valueField: "itemID", title: "Item with value", pickListHeight: 100, value: 2 } ] });
I'd expect only two fetchMissingValueReply-requests. This is the case when you use type: "comboBox". IMHO there shouldn't be a difference here between comboBox and select.
And out of interest: Why are two requests queued, which is not the case if I only create one of the two SelectItems?
Testcase:
Testcase with only one SelectItem:
Best regards
Blama
Comment