SmartClient Version: v13.1p_2026-02-18/AllModules Development Only (built 2026-02-18)
Hello, I encountered a regression when using valuePath with initialCriteria / implicitCriteria (at least since v13.1p_2026-02-15).
Please try the following test case:
After clicking the button, you can see from the RPC tab in the developer console that the valuePath is not being resolved:
Hello, I encountered a regression when using valuePath with initialCriteria / implicitCriteria (at least since v13.1p_2026-02-15).
Please try the following test case:
Code:
isc.DynamicForm.create({
ID: "dsForm",
dataSource: "supplyItem"
})
isc.ListGrid.create({
ID: "dsListGrid",
visibility: "hidden",
autoDraw: false,
width: 500,
height: 300,
autoFetchData: true,
initialCriteria: {
fieldName: "itemID", operator: "equals", valuePath: "dsForm.values.itemID"
},
dataSource: "supplyItem"
});
isc.HLayout.create({
members: [dsForm, isc.IButton.create({title:"show grid", click:"dsListGrid.show()"}), dsListGrid]
})
dsForm.fetchData()
Code:
{
dataSource:"supplyItem",
operationType:"fetch",
componentId:"dsListGrid",
data:{
fieldName:"itemID",
operator:"equals",
valuePath:"dsForm.values.itemID"
},
....