v-money
v-money copied to clipboard
Empty model gets a default value of 0
Is there any way to override the empty model of being assigned a default value of 0? I'd like to just have a blank text box
me too I want you to provide the user with the option to leave the field blank
@nholden This is a different use case. You plugin just set's the input field blank, but we also need a blank value here.
Good point, @bart! My PR allows the text box to be blank, but it still results in a value of 0. That worked fine for my use case, but maybe there are situations when you'd want that value to be null
.
I'm not planning to make any additional changes to my PR, but anyone else is welcome to give it a shot.