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
{{ message }}
Repository navigation
Object v-bind taking precedence over earlier attributes #2059
In Vue 2 the value of abc would have been 'specific'.
What is actually happening?
abc is 'object'.
The order of the attributes now matters.
I also experimented with using :abc for the first attribute but it doesn't seem to matter whether the prop is static or dynamic.
I know this topic has been discussed several times before but I haven't been able to find any official confirmation that this has been changed intentionally.
A look through the tests seems to suggest that this is being tested, so my guess is that it is an intentional change.
The most recent discussion I could find on this topic was 3 weeks ago. vue#11594. While that was a discussion about Vue 2 it does seem odd that the change in Vue 3 wasn't mentioned if it is indeed an intentional change.
Activity
yyx990803 commentedon Sep 14, 2020
Yes, this is an intentional change (
v-bindappearance order now affects merge result) and we should document it in the migration guide.CyberAP commentedon Sep 28, 2020
I have suggested a change that might be able to fix that: vuejs/rfcs#215