Our state of the art Gantt chart


Post by cngo@ensiteusa.com »

Do you have widget which like multiselect value and add custom value to multiselect.
I find combo... but it only allow pick up from the list.


Post by marcio »

Hey cngo,

Thanks for reaching out.

For the scenario that you described, we have https://bryntum.com/products/gantt/docs/api/Core/widget/Combo#config-createOnUnmatched which exists for this purpose, if you check the link there is a deeper explanation and example of how it works.

If you need more clarification, please let us know.

Best regards,
Márcio


Post by marthadavis »

You can create a custom widget by combining a multiselect dropdown with an input field. Users can select existing options or type a new value into the field. This requires some custom coding using HTML, CSS, and JavaScript to manage the selection and update the list.


Post by cngo@ensiteusa.com »

It is kind of base component and I think you guys should include these options in library.
Please looks at kendo multiselect, so simple to use.
https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/custom-values/


Post by tasnim »

Hi,

We have the same feature available as Marcio mentioned you'd need to have createOnUnmatched to true

msedge_mO1FcbN5UK.gif
msedge_mO1FcbN5UK.gif (179.42 KiB) Viewed 306 times

You can see the demo here https://codepen.io/dv-auntik/pen/rNbLKOL?editors=0010


Post by cngo@ensiteusa.com »

Thank you.
It seems to work itselt but if I use combo with "createOnUnMatch" value. I added new value, it showed and checked as selected in combo but it did not detect as fieldValue change in taskEdit (For taskboard, gantt) until I unselect and select new value again.


Post by alex.l »

Hi,

Please share the code you used and steps to rerpoduce, we will check what's wrong.

All the best,
Alex


Post by cngo@ensiteusa.com »

Here we go. Try category, add new value, it will not detect as a change for category (Doesn't call syncfail function)

https://github.com/cngoEnsite/Bryntum-Taskboard-CustomCombo.git


Post by tasnim »

Hi,

We can't access the link you provided. Please provide a accessible link or you can upload a test case here wrapping it in a zip file

Best of Luck :),
Tasnim


Post by cngo@ensiteusa.com »

Oh. My bad. Could you please try now.
Thank you.https://github.com/cngoEnsite/Bryntum-Taskboard-CustomCombo.git


Post Reply