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
Hi Everyone, I've recently moved on rails 7 and new to stimulus as well. for some reason when i connect my stimulus controller to normal index.html.erb file (or any other file outside activeadmin) using "data-controller='home'", it works. but when i apply the same logic in activeadmin resource...the controller just never connects to it...Even tho i see data-controller in the markup but for some reason the controller Stimulus controller just doesnt catch it. do i need to do some configuration for it or what?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Everyone, I've recently moved on rails 7 and new to stimulus as well. for some reason when i connect my stimulus controller to normal index.html.erb file (or any other file outside activeadmin) using "data-controller='home'", it works. but when i apply the same logic in activeadmin resource...the controller just never connects to it...Even tho i see data-controller in the markup but for some reason the controller Stimulus controller just doesnt catch it. do i need to do some configuration for it or what?
Beta Was this translation helpful? Give feedback.
All reactions