Vue version
3.4.31
Link to minimal reproduction
https://jsfiddle.net/uwegz5y8/23/
Steps to reproduce
- Load repro
- See
Boo: false; typeof: boolean - as expected, because boo attribute is not set
- Click "Toggle Boo"
- See
Boo: true; typeof: boolean - as expected, because now boo attribute is set
- Click "Toggle Boo" again
- See
Boo: ; typeof: undefined - unexpected, since boo attribute is removed - we expect to receive false just like in the 2nd step previously
What 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 to undefined in the 6th step of the original issue reproduction.
Kinda related to #9697
Vue version
3.4.31
Link to minimal reproduction
https://jsfiddle.net/uwegz5y8/23/
Steps to reproduce
Boo: false; typeof: boolean- as expected, becausebooattribute is not setBoo: true; typeof: boolean- as expected, because nowbooattribute is setBoo: ; typeof: undefined- unexpected, sincebooattribute is removed - we expect to receivefalsejust like in the 2nd step previouslyWhat is expected?
falseWhat is actually happening?
undefinedSystem 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
nulltoundefinedin the 6th step of the original issue reproduction.Kinda related to #9697