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
When I try to use other third party JS library (datepicker), stimulus complains. The datepicker library was using data-action attribute internally for dynamically generated DOM elements and I was using data-controller for body tag myself. What is the proper way to customize stimulus' data- attribute names, in order to avoid this name conflict?
data-controller
data-action
data-target
...
I think I saw it somewhere before, but can't remember now, tried to search but no luck.
Please let me know and can we document it in the stimulusjs.org?
The text was updated successfully, but these errors were encountered:
When I try to use other third party JS library (datepicker), stimulus complains. The datepicker library was using
data-action
attribute internally for dynamically generated DOM elements and I was usingdata-controller
forbody
tag myself. What is the proper way to customize stimulus'data-
attribute names, in order to avoid this name conflict?I think I saw it somewhere before, but can't remember now, tried to search but no luck.
Please let me know and can we document it in the stimulusjs.org?
The text was updated successfully, but these errors were encountered: