SmartClient Version: v13.0p_2023-06-12/AllModules Development Only (built 2023-06-12)
Chrome on OSX
Hello, please try this test case:
I get this error.
Am I doing something wrong, or is it a framework bug?
Chrome on OSX
Hello, please try this test case:
Code:
isc.DynamicForm.create({
ID: "aForm",
fields: [
{
name: "category",
optionDataSource: "supplyItem",
displayField: "category",
valueField: "category",
editorType: "SelectItem"
}
]
})
isc.ListGrid.create({
ID: "supplyList",
top: 100,
width: 500, height: 300, alternateRecordStyles: true,
implicitCriteria: {
_constructor: "AdvancedCriteria",
operator: "and",
criteria: [
{fieldName: "category", operator: "equals", valuePath: "aForm.values.category"}
]
},
dataSource: supplyItem,
fields: [
{name: "SKU"},
{name: "itemName"},
{name: "description"},
{name: "category"}
],
showFilterEditor: true,
filterOnKeypress: true,
fetchDelay: 500
});
Code:
18:39:46.418:TMR2:WARN:Log:TypeError: Cannot read properties of undefined (reading 'fetchMode')
Stack from error.stack:
Canvas.refreshData(<no args: exited>) on[ListGrid ID:supplyList] @ ISC_Core.js:4894:183
_3.<anonymous>(<no args: exited>) on[ListGrid ID:supplyList] @ ISC_Grids.js:3429:40
_3.observation(<no args: exited>) on [FeatureExplorer ID:featureExplorer] @ ISC_Core.js:367:394
Canvas.fireRuleContextChanged(<no args: exited>) on [DynamicForm ID:aForm] @ ISC_Core.js:4302:1279
Canvas._provideRuleContext(<no args: exited>) on [DynamicForm ID:aForm] @ ISC_Core.js:4298:54
Canvas.provideRuleContext(<no args: exited>) on [DynamicForm ID:aForm] @ ISC_Core.js:4286:6
DynamicForm._delayedSetValues(<no args: exited>) on [DynamicForm ID:aForm] @ ISC_Forms.js:593:275
[c]Page.handleEvent(<no args: exited>) on [Class Page] @ ISC_Core.js:2178:72
EventHandler._handleIdle(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:2631:769
[c]Class.fireCallback(_1=>Obj, _2=>null, _3=>null, _4=>null, _5=>true) on [Class Timer] @ ISC_Core.js:330:252
Timer._fireTimeout(_1=>"$ir142", _2=>157, _3=>undef) on [Class Timer] @ ISC_Core.js:2163:6
null.<anonymous>() @ ISC_Core.js:2159:40
Comment