-
Notifications
You must be signed in to change notification settings - Fork 164
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
Client side meltdowns if you add a textfield and a combobox #6029
Comments
This happened to me as well. Download a new project from https://start.vaadin.com/ and added a new view there containing |
I tried this with servlet starter with Jetty and the whole servlet was undeployed (default servlet of jetty showed directory listing) when jetty was running. When the "mvn jetty:run" was restarted, it worked correctly. |
We should verify whether cleaning the project and removing |
Running |
I am unable to reproduce this issue using In addition, I am unable to reproduce the issue with starter following the steps:
In theory doing that should produce a project which is in the same state as the starter which was downloaded when I'll close this issues. If it pops up again, we'll tackle it then. |
Setup:
Steps:
add(button);
):add(new TextField(), new ComboBox<>());
mvn spring-boot:run
Expected outcome:
I can see app with button, textfield and combobox. Browser console isn't full of errors.
Actual outcome:
Following error starts browser console:
Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "vaadin-text-field" has already been used with this registry
After this everything seams to be broken, and many
of undefined
errors follow.Looks like combobox internally using textfield is causing re-registeration of textfield, while textfield itself has already caused registration?
The text was updated successfully, but these errors were encountered: