Closed
Description
Hey,
is it possible to add null
as a value?
For a more detailed explanation, this is my scenario:
I have a form which is populated by API data and the user should add/change data and then submit it. There we have a <vue-numeric>
input as well. When the user edits the field, everything works as expected.
But I have the situation that sometimes the input isn't populated at all and the user doesn't change anything either. In this case the empty value 0
is sent back to the API but it should be null
...
I just saw that there is something like :empty-value
now ... But it still expects the the value is a Number, doesn't it?