v-money icon indicating copy to clipboard operation
v-money copied to clipboard

Empty model gets a default value of 0

Open joeappleton18 opened this issue 7 years ago • 3 comments

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

joeappleton18 avatar Sep 24 '17 13:09 joeappleton18

me too I want you to provide the user with the option to leave the field blank

renatosistemasvc avatar Nov 16 '17 03:11 renatosistemasvc

@nholden This is a different use case. You plugin just set's the input field blank, but we also need a blank value here.

bart avatar Sep 13 '18 17:09 bart

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.

nholden avatar Sep 13 '18 18:09 nholden