-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extending Controller : "TypeError: _ref16 is undefined" #12
Comments
Looks like the end() function has changed. If I use the following then it seems to work:
|
Yeah the end function has changed and the package moved to Stimulus 3. Is this related? |
This is what I cam up with in the end which works although it could do with a bit of refining:
|
I think the docs just need updating to show the correct code to use to extend. |
Added a pull request #45 with docs update, not sure if I followed proper contributor policies. |
Following the example of the "Extending Controller" in the documentation I am getting an error "Uncaught (in promise) TypeError: _ref16 is undefined"
Any ideas?
I am trying to get a hidden position input to be set to the correct index when items are moved, but falling at the first hurdle.
The text was updated successfully, but these errors were encountered: