ui-mask icon indicating copy to clipboard operation
ui-mask copied to clipboard

Mask value being setted as 0 if null

Open Rui90 opened this issue 8 years ago • 0 comments

I have this input using ui-mask

<input type="text" ui-mask-placeholder ui-mask="99999-999" ng-model="AddressPostalCode" name="AddressPostalCode">

But if I do not set a value, my scope will have the value 0, and this info will be sent. Why? Is there no simple way to if the mask is not correct or something, it just goes as null?

Rui90 avatar Nov 16 '17 11:11 Rui90