Connect StimulusJS controller to ActiveAdmin resource #8304
Replies: 1 comment
-
I had the same problem several years ago, and again this week |
Beta Was this translation helpful? Give feedback.
8000
-
I had the same problem several years ago, and again this week |
Beta Was this translation helpful? Give feedback.
-
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