-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
🍰 p2-nice-to-havePriority 2: this is not breaking anything but nice to have it addressed.Priority 2: this is not breaking anything but nice to have it addressed.version: minor
Description
Vue version
v3.5.18
Link to minimal reproduction
Steps to reproduce
Run the reproduction above with the new customizable select elements.
Including the new <selectedcontent>
element, having <button>
inside <select>
, and elements inside <option>
.
What is expected?
no errors or warnings
What is actually happening?
Get these warnings:
Failed to resolve component: selectedcontent
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
,
<button> cannot be child of <select>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
and
<span> cannot be child of <option>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
System Info
Any additional comments?
should wait for #9249 to avoid conflicts with existing components namde selectedcontent
Metadata
Metadata
Assignees
Labels
🍰 p2-nice-to-havePriority 2: this is not breaking anything but nice to have it addressed.Priority 2: this is not breaking anything but nice to have it addressed.version: minor