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

Not remove zero on left #144

Open mattheusc opened 4 years ago

mattheusc commented 4 years ago

Hi! Can I change the main configuration that remove zero that is on left when I'm using the mask? I had already tried everything for to do it. Is there someone to help me? Thanks!

donovan-duplessis commented 4 years ago

Hi mattheusc,

Are you saying once you backspace, and you left with zero, don't remove it? If so, I am also looking for this functionality. I don't want the user to complete remove the (eg 0.00) value.

Cheers, Donovan