In Stimulus there is a way to add so called "outlets" to controllers in order to ease the cross-controller communication.
See https://stimulus.hotwired.dev/reference/outlets for reference.
This option is currently missing in the ControllerViewHelper and should be added - for "feature completeness sake". :-)
In Stimulus there is a way to add so called "outlets" to controllers in order to ease the cross-controller communication. See https://stimulus.hotwired.dev/reference/outlets for reference.
This option is currently missing in the ControllerViewHelper and should be added - for "feature completeness sake". :-)
I am open to tackling this in a PR this weekend.