You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wrapping the https://tom-select.js.org/ library in stimulus and there are a lot of settings that I would like to set via data attributes. The problem is that this gets verbose very quickly
I'm wrapping the https://tom-select.js.org/ library in stimulus and there are a lot of settings that I would like to set via data attributes. The problem is that this gets verbose very quickly
That's only with three values - the problem is that every value name is wrapped by
controller_name_#{value_name}_value
A workaround is to pass an entire object which works but doesn't auto camelize the keys or provide default values
Any suggestions for a better way of doing this would be appreciated!
The text was updated successfully, but these errors were encountered: