diff --git a/app/javascript/shared/stimulus-loader.ts b/app/javascript/shared/stimulus-loader.ts index 177290317..5eca1632f 100644 --- a/app/javascript/shared/stimulus-loader.ts +++ b/app/javascript/shared/stimulus-loader.ts @@ -52,6 +52,7 @@ function lazyLoadNewControllers(application: Application) { } } }).observe(application.element, { + attributes: true, attributeFilter: [controllerAttribute], subtree: true, childList: true