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
It seems like v-bind is not removing attributes with falsy values when another attribute with the .prop modifier appears first in the element's list of attributes. More details in the comments of the fiddle.
Inspect the rendered elements using devtools to see the problem described
What is Expected?
v-bind should remove attributes whose values are falsy (false, null, undefined) regardless of the presence of other attributes and the .prop modifier.
What is actually happening?
Attributes with falsy values are not removed when another attribute with the .prop modifier appears first. Instead, these attributes are rendered with the string "false", "null" or "undefined" as their value.