SmartClient Version: SNAPSHOT_v13.1d_2024-09-14/AllModules Development Only (built 2024-09-14)
I see it's fixed, thank you very much
Announcement
Collapse
No announcement yet.
X
-
Thanks for the report Claudio. This is fixed in builds starting on Sep 14.
Leave a comment:
-
13.1 bug with DynamicForm and *When rules
SmartClient Version: SNAPSHOT_v13.1d_2024-09-10/AllModules Development Only (built 2024-09-10)
Hello, please try this test case in the fetchOperationFS sample of the showcase:
Code:isc.ListGrid.create({ ID: "dsListGrid", top: 100, width: "100%", height: "100%", autoFetchData: true, dataSource: "supplyItem", recordClick: "editForm.editRecord(record)" }); isc.IButton.create({ ID: "addButton", title: "Add", autoFit: true, click: "editForm.editNewRecord()" }) isc.DynamicForm.create({ ID: "editForm", left: 100, dataSource: "supplyItem", fields: [ //{name: "itemID", hidden: true}, {name: "itemName"}, { name: "SKU", readOnlyWhen: {fieldName: "itemID", operator: "notNull"} } ] })
You may uncomment the itemID field in the form to verify that the readOnlyWhen works only if the itemID is explicitly defined in the form.
This works in the latest 13.0.Tags: None
Leave a comment: