We've moved discussions to Discord

Multiselect tree plugin recommendation

We need to implement a structure where in a select box, there are various levels of options in a tree structure and user can select multiple options. Basically this is what I am looking for: https://github.com/patosai/tree-multiselect.js. But this plugin doesn't work. I managed to install it with our Jumpstart Rails app, but it's not working at all. The plugin doesn't transform standard select to what it shows in the docs. 

Does anyone has any recommendations for a good, reliable multiselect tree plugin that's easy to integrate with Rails? Or suggestions on how I can implement it? 
Chris Oliver
Did you add jQuery too and initialize it on turbolinks:load event?

Personally, I would find something that didn't require jQuery and write a small Stimulus controller to initialize it instead. It'll be way easier to manage with Turbolinks that way.

Looks like this might be similar enough: https://www.cssscript.com/tree-view-checkboxes/
Notifications
You’re not receiving notifications from this thread.