Hello
I have this code:
the model:
define([
"models/fe_io",
"models/state",
"models/nodos_io"
],function(jsondata,state,nodelist){ .... etc
and this view:
{ view:"combo", label:"Nodo", name:"node_id",
options:{
body:{ //list configuration
view:"list", //optional
data:nodelist.data,
template:"#ideser#",
yCount:7
}
}
},
when the data is loaded from the model or any source: nodelist.data ,
the combo show the values(some numbers) but the filter is not working and show this error on the console:
Uncaught TypeError: Cannot read property 'toString' of undefined
at result.filter (webix_debug.js:7902)
at result.<anonymous> (webix_debug.js:8165)
at webix_debug.js:242
at webix.DataStore._filter_core (webix_debug.js:11454)
at webix.DataStore.filter (webix_debug.js:11514)
at result.filter (webix_debug.js:11540)
at result.<anonymous> (webix_debug.js:8164)
at webix_debug.js:351
if specify data manualy for example
data:[
{ id:1, name:"Banana" },
{ id:2, name:"Papaya" }
]
it work very well.
in other hand view:select the options:{} dont support body:{ //list configuration like combo, is a bug or im doing something wrong?