SmartClient Version: SNAPSHOT_v13.0d_2021-10-28/AllModules Development Only (built 2021-10-28)
and
SmartClient Version: v12.1p_2021-10-28/AllModules Development Only (built 2021-10-28)
Chrome on MacOS
Hello, please modify the sample 'initialData' like this:
then, open the pickList or type to search and select an employee.
I was expecting to see the Name (displayField) in the ComboCoxItem, but I see the EmployeeId. Is it a bug, or am I missing something?
and
SmartClient Version: v12.1p_2021-10-28/AllModules Development Only (built 2021-10-28)
Chrome on MacOS
Hello, please modify the sample 'initialData' like this:
Code:
isc.DynamicForm.create({
ID: "fooForm",
fields: [
{
name: "ReportsTo",
editorType: "ComboBoxItem",
cachePickListResults: false,
addUnknownValues: false,
textMatchStyle: "substring",
optionDataSource: "employees",
sortField: "Name",
pickListFields: [{name: "Name"}],
displayField: "Name",
valueField: "EmployeeId",
dataSetType: "tree",
pickListProperties: {
treeField: "ReportsTo",
loadDataOnDemand: false
}
}
]
})
I was expecting to see the Name (displayField) in the ComboCoxItem, but I see the EmployeeId. Is it a bug, or am I missing something?
Comment