-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Open
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: ssr🔩 p2-edge-case
Description
Vue version
3.5.16
Link to minimal reproduction
Steps to reproduce
- Switch to the
SSRtable on right pane - Checkout the line 30:
: _ssrLooseEqual($setup.theValue, null))) ? " selected" : ""
What is expected?
Comparing $setup.theValue with the text of <option> that is possibleValue in v-for like browser.
What is actually happening?
Comparing with null causing _ssrLooseEqual() always being evaluated to false, so only the first <option> of <select> will be appeared as selected before hydrate.
System Info
No response
Any additional comments?
The reproduction is taken from #12395
Metadata
Metadata
Assignees
Labels
has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: ssr🔩 p2-edge-case