SmartClient Version: SNAPSHOT_v11.1d_2017-03-13/Enterprise Development Only (built 2017-03-13)
Chrome on OSX
Hello, please try this test case:
You'll see these warnings:
But I'm not re-using FormItems. If I specify the dataSource also on the DynamicForms, the warnings doesn't show.
Chrome on OSX
Hello, please try this test case:
Code:
isc.DynamicForm.create({ ID: "dynamicForm", items:[{name:"itemName"}] }); isc.DynamicForm.create({ ID: "dynamicForm2", top: 50, items:[{name:"SKU"}] }); isc.ValuesManager.create({ dataSource: "supplyItem", members: [dynamicForm, dynamicForm2] });
Code:
15:47:43.146:MUP4:WARN:DynamicForm:dynamicForm:destroyed FormItem passed to setItems()/addItem(): FormItems cannot be re-used with different DynamicForms 15:47:43.159:MUP4:WARN:DynamicForm:dynamicForm2:destroyed FormItem passed to setItems()/addItem(): FormItems cannot be re-used with different DynamicForms
Comment