Custom Web Elements/Components receive undefined
instead of false
on subsequent re-render
#11276
Labels
undefined
instead of false
on subsequent re-render
#11276
Vue version
3.4.31
Link to minimal reproduction
https://jsfiddle.net/uwegz5y8/23/
Steps to reproduce
Boo: false; typeof: boolean
- as expected, becauseboo
attribute is not setBoo: true; typeof: boolean
- as expected, because nowboo
attribute is setBoo: ; typeof: undefined
- unexpected, sinceboo
attribute is removed - we expect to receivefalse
just like in the 2nd step previouslyWhat is expected?
false
What is actually happening?
undefined
System Info
No response
Any additional comments?
This is similar to #10324, which was not actually a duplicate of #9006
b49306a didn't fix the issue. All it did was to change
null
toundefined
in the 6th step of the original issue reproduction.Kinda related to #9697
The text was updated successfully, but these errors were encountered: