Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #1148 Fix missing double dash in namespaced Stimulus outlets (Gre…
…g Berger) This PR was merged into the 2.x branch. Discussion ---------- Fix missing double dash in namespaced Stimulus outlets | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Tickets | / | License | MIT In `StimulusTwigExtension`, namespaced (ie: in sub directories) stimulus controllers didn't work as the regex in `StimulusAttribute::normalizeKeyName` removes the double-dash needed to mark namespace separations. As the outlet value is the name of a controller, I suggest to use `normalizeControllerName` from the same class, instead. Commits ------- 621171c Fix missing double dash in namespaced Stimulus outlets
- Loading branch information