Connect StimulusJS controller to ActiveAdmin resource #8304
Unanswered
huzaifabutt
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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