kanban custom editor

edited January 24 in Technical questions

how can I use the same options in CustomEditor when selecting users via a richselect?

If I specify the options as Url as shown below, this will work, but two GET requests (usersUrl) will be triggered.
This does not seem to be the case when using the DefaultEditor.

webix.ui({
    view:"kanban",
    editor:[
      { view:"textarea", name:"text", label:"text", height: 90},
      { view:"richselect", name:"user_id", label:"user_id", options: usersUrl}
    ],
    comments:{ 
        currentUser: currentUserID 
    },
    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: dataUrl,
    attachments: attUrl,
    users: usersUrl
});

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion