I would like to use a CustomEditor in kanban. How should the control be defined to change the status?
If I use the following definition, I can edit the field in the editor (the default value is set correctly according to item-value), but when saving I can see in the payload that the value “status” has not changed.
var kanban = webix.ui({
view:"kanban",
editor:[
{ view:"textarea", name:"text", label:"text", height: 90},
{ view:"richselect", name:"status", label:"status", options: ['new', 'work', 'test', 'done']}
]
cols:[
{ header:"Backlog", body:{ view:"kanbanlist", status:"new" }},
{ header:"In Progress", body:{ view:"kanbanlist", status:"work" }},
{ header:"Testing", body:{ view:"kanbanlist", status:"test" }},
{ header:"Done", body:{ view:"kanbanlist", status:"done" }}
],
url: dataUrl,
save: "json->" + dataUrl
});