cesarrew / ng2-currency-mask

A very simple currency mask directive that allows using a number attribute with the ngModel.
MIT License
235 stars 116 forks source link

FIX validation to blank values #92

Closed LeonardoGraselAlmeida closed 6 years ago

LeonardoGraselAlmeida commented 6 years ago

I added a validation for when the value is ""(empty) to return null.