David Kimura PRO said over 1 year ago on Dynamic Select Forms with Hotwire :
Ah... I think I see the problem. In your code, you're closing the div before the form select for the secondary target. So, the secondary target is NOT part of the stimulus controller.