<option>
without value
attr won't have selected
attr in the SSR output
#13436
Labels
<option>
without value
attr won't have selected
attr in the SSR output
#13436
Uh oh!
There was an error while loading. Please reload this page.
Vue version
3.5.16
Link to minimal reproduction
https://play.vuejs.org/#__SSR__eNqFUl1PwyAU/SuEl2oyO3V+LtVEjQ/6oEaNL2LM7O4mSoHAbZ1p+t+9hXWbxmib9MA9p5dzgJqfWJtWJfAhz3zupEXmAUt7LLQsrHHIauZgwho2caZgCUkToYXOjfbI8BUeRqoEdtSK1pLdzc1kvSNHSgXSz9nHZPbPk/RYsk0tCAYRdiK0fQn2IuxHOIhwSPBEi2b96J+c0wShsGqEQLNsLKu2iPSGb+ZBQY6s2ijMGNSR4F0OwTshZsaiNNQqTgVWGxPjSGuN9/JFzYNLvcwp+FI9fIfPn+JVvhst1hNY1+x776ZZmOlHN3M1RQ0JwjTrx3xZfyUz73H0dAwTOU3fvNF0vLXQjAmem8JKBe46NCTPQxaYlqMk5uMy1NCV0Ovq+Svk77/U3/ysrQl+48CDqyjhgsORmwJG+vzuCmY0XpC076Ui9R/kLXijynAEQXZa6jHZXtEFtxfhkko9vffnMwTtu1Ct0VbZBL3gdHHP/oi+tDtId8J/Qje0i88VuLYnbeAg3U239njzBddwFPg=
Steps to reproduce
SSR
table on right paneWhat is expected?
Comparing
$setup.theValue
with the text of<option>
that ispossibleValue
inv-for
like browser.What is actually happening?
Comparing with
null
causing_ssrLooseEqual()
always being evaluated tofalse
, 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
The text was updated successfully, but these errors were encountered: