Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Mask value being setted as 0 if null #234

Open
Rui90 opened this issue Nov 16, 2017 · 0 comments
Open

Mask value being setted as 0 if null #234

Rui90 opened this issue Nov 16, 2017 · 0 comments

Comments

@Rui90
Copy link

Rui90 commented Nov 16, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant