#669·stimulus

Outlet name must be same as controller name

Author: tito10047Created Mar 18, 2023Updated Jul 8, 2025

in https://github.com/hotwired/stimulus/blob/af88dbf16ddb4c86cb2d10dcefffc92d9da43de8/src/core/outlet_set.ts#L69 is checked , if outlet name is in controller attributes. its means that outlet name must be same as controller name. Its this correct?

this code dont work because outlet name is diferent as controller name https://codepen.io/tito100/pen/VwGBmoZ

If its this correct behavior, please add it to documentation.