quasar
quasar copied to clipboard
Using clearable in masked input set model to empty string instead of null
What happened?
When using mask property and clearable on q-input, once input is cleared, the model value is ""
instead of null
What did you expect to happen?
The input should be cleared as null
Reproduction URL
https://codepen.io/lucianobosco/pen/eYMRyOe
How to reproduce?
<q-input
v-model="date"
clearable
mask="##/##/####"
label="Date" />
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)