hotwired / stimulus

A modest JavaScript framework for the HTML you already have
https://stimulus.hotwired.dev/
MIT License
12.73k stars 426 forks source link

Outlets property name in nested controller path #784

Open tito10047 opened 3 months ago

tito10047 commented 3 months ago

I have controller in this path: Selector/SelectOne/select-one_controller.js When i want use this in outlets then outlets name must be

static outlets = ['Selector--SelectOne--select-one']

but when i use getter this.selectorSelectOneSelectOneOutlet then is not working,

This one is working this['Selector-SelectOneSelectOneOutlets'], so getter is generated wrong