-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
[Autocomplete] Error: Tom Select already initialized on this element #2623
Comments
I'm looking at the diff between v2.12.0 and v2.22.0, and I'm not sure to see how switching from Are you sure you only updated Can you provide us a reproducer? 🙏🏻 |
I did some more tests, and it just happens from time to time. So I believe indeed version independant. Probably some race condition? I only updated |
I have this same issue. It happens when I send Symfony form with autocomplete and if it has errors and returns the same page with status code 422, this error happens. The autocomplete still works and what not, but its spamming errors in console. I have not used any previous versions of UX, I just upgraded Symfony and added this as a replacement for old Select2 bundle. Using webpack |
@Bartheyrman22 I found out that someone had been initializing Turbo in the wrong place. It should be included in and it was in the . After fixing that, this error went away and select works as intended |
I get the following error message when moving a TomSelect [Autocomplete] in the DOM.
This after upgrading from
2.21.0
to2.22.0
(and still present in2.23.0
)The code I use to move the element:
The text was updated successfully, but these errors were encountered: