-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.4.15 regression on v-model in <select> #10194
Comments
Cuplrit: core/packages/runtime-dom/src/directives/vModel.ts Lines 242 to 245 in f1068fc
Introduced by 2ffb956 a workaround until a fix would be to use an immutable array. But the question is if/how we can keep the fastpath goal of that commit while supporting mutating the array, which is kind of a common thing to do and should of course work. |
reproduction in playground |
Vue version
3.4.15
Link to minimal reproduction
https://gist.github.com/jacekkow/9a494e92ca45d16907d2a2514e8422c2
Steps to reproduce
Click on "First (click)" and/or "Second (click)".
What is expected?
<option>
tags within<select>
have the "selected" flag set. This happens when downgrading to Vue 3.4.14.What is actually happening?
<option>
within<select>
does not have the "selected" flag set.System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: