The controller adds some actions itself to avoid the user having to add them in their markup.
However these have the name of the controller hardcoded. For example:
|
let action = 'click->datepicker#toggle' |
This means a child controller won't work properly.
The controller adds some actions itself to avoid the user having to add them in their markup.
However these have the name of the controller hardcoded. For example:
stimulus-datepicker/src/datepicker.js
Line 92 in 0c4defd
This means a child controller won't work properly.