Open
Description
Vue version
3.5.16
Link to minimal reproduction
Steps to reproduce
- Switch to the
SSR
table 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