You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is related to the feature introduced on (#5953).
When binding the attribute readonly and setting it to false the mismatch warning is thrown. The issue is probably related to the fact that the key represents the attribute name which is readonly. However the key of the HTML element is readOnly.
Vue version
3.4.6
Link to minimal reproduction
https://stackblitz.com/edit/github-dbb6s1?file=app.vue
Steps to reproduce
Run
npm run dev
and check browser's console.What is expected?
The input element should be rendered without hydration issues.
What is actually happening?
System Info
System: OS: Linux 5.0 undefined CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.4.2 - /usr/local/bin/npm pnpm: 8.14.0 - /usr/local/bin/pnpm npmPackages: vue: ^3.4.6 => 3.4.6
Any additional comments?
This issue is related to the feature introduced on (#5953).
When binding the attribute
readonly
and setting it tofalse
the mismatch warning is thrown. The issue is probably related to the fact that thekey
represents the attribute name which isreadonly
. However the key of the HTML element isreadOnly
.core/packages/runtime-core/src/hydration.ts
Line 761 in a3725a7
The text was updated successfully, but these errors were encountered: