-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: ssr
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:
and line 34 should be similar with 30 for adding
: _ssrLooseEqual($setup.theValue, "test"))) ? " selected" : ""
selected
attr, but it's just:_ssrRenderAttr("value", possibleValue)
What is expected?
_ssrRenderList($setup.allValues, (possibleValue) => {
_push(`<option${
_ssrRenderAttr("value", possibleValue)
}${
(_ssrIncludeBooleanAttr((Array.isArray($setup.theValue))
? _ssrLooseContain($setup.theValue, possibleValue)
: _ssrLooseEqual($setup.theValue, possibleValue))) ? " selected" : ""
}>${
_ssrInterpolate(possibleValue)
}</option>`)
What is actually happening?
_ssrRenderList($setup.allValues, (possibleValue) => {
_push(`<option${
_ssrRenderAttr("value", possibleValue)
}>${
_ssrInterpolate(possibleValue)
}</option>`)
})
System Info
No response
Any additional comments?
The reproduction is taken from #13436
PR #9442 seems fixed this in v3.3.6
, so it should be an regression?
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: ssr