Variable changes are not reflected in v-model in certain case #12830
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope:hydration
Vue version
v3.5.13
Link to minimal reproduction
https://play.vuejs.org/#__SSR__eNqNVF1vmzAU/StX1iRAYiRb+4SSSl3Xh01aV23ZXkqkIrgJ7sBGtqGpIv77LnZgBHXTnhKfe8/xuR/myK7rOmobZDFb6Uzx2oBG09RQpmK/TpjRCbtKBK9qqQwcof0icyw3eDAhKNyFkOOOC7zWLyK7kZQlUFDIoROgCOGZm+IjV5gZ3qKGDnZKVuDR5V4iEpFJoQ3cSVWl5UiE9VzKPyYCnMcY/ADWV2ARACdQ6T2RyJrveYELEBS1adkgBbybggrD/J29s4/ekwuuMVKoZdmiH0SmQOGfSb+u8d6DxQKENP11JdWFOeykgvZt1TfJUTsy4f6R5w2vUDbmf8QvyKDlh3C5XC5HFUWVK3GqvPC9nLdeCA+D1Ig8kmgMb46jdvcYhEPW+Sh8InFRN4ZooycAT4ofdZ4ajG05P3sRj3pOajGk4sU6mFqn3/GGLpiYAniY7s3I2Y7p28Hb1s6so5NrnBvq+XqNS3EOn7o6n+dsowKSXS3cqtNi08FgVZdUJp0AVrOrFg6dr2UPrxYTJgvpqZDZHd9HT1oKek+2lQnLiMRLVF9rw6mYhMVDkxOWlqV8/mwxoxo89YA4BWa/XsGf9KHHEnZP1aFqMWFjzKRqj8aFb7/fUacnQZpgU1L2P4Lf+n41vUeX9qEROdme5Fm3n+yXgIv9Rt8eDAo9FNUbHWbXZ9O77vv1t9L/2L2ILi2PRs66317lem4=
Steps to reproduce
Promise.resolve().then
in setup.What is expected?
the
<input>
will be changed to'newValue'
What is actually happening?
then, the newValue does not reflect for the
<input>
. it still showsoldValue
.System Info
Any additional comments?
This issue was reported as a Vue bug based on an investigation by members of the Nuxt community.
ref: nuxt/nuxt#30590
The text was updated successfully, but these errors were encountered: