Replies: 1 comment
-
I have the same problem when trying to style my https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Forms/Customizable_select |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using HTML select element with the new appearance: base-select gives a Vite warning in the developer console if there is any other element in the select than option, which is allowed in this new appearance. Is there a way to disable this warning?
Repro: Create new Vite+Vue app with npm create vite@latest
Put this in App.vue html:
And this in the style block:
Then a warning appears in the console: [vite] (client) warning: cannot be child of , according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
Even though this is valid html in the new version of Chrome.
Beta Was this translation helpful? Give feedback.
All reactions