Closed
Description
Version
3.2.29
Reproduction link
Steps to reproduce
Use :style="{'--var': undefined}"
or :style="{'--var': false}"
in a template.
It's rendered as style="--var: undefined"
or style="--var: false"
which seems incorrect, --var
should be removed instead. Using null
works correctly and --var
is removed.
What is expected?
Inline css variable should be removed.
What is actually happening?
It's actually being rendered as undefined.