Attribute Binding to false should be omitted
Vue version
3.2.45
Link to minimal reproduction
Steps to reproduce
add :test1="false"
What is expected?
test1
should be omitted
What is actually happening?
test1=false
is included
System Info
No response
Any additional comments?
https://vuejs.org/guide/essentials/template-syntax.html#boolean-attributes
This hat been discussed multiple times, and won't happen at it's a breaking change.
false
only removes real boolean attributes. test1
is a custom attribute.
we should make this clear in the docs, that for custom attribute will only get removed if its set to null