JsDaddy / ngx-mask

Angular Plugin to make masks on form fields and html elements.
https://jsdaddy.github.io/ngx-mask
MIT License
1.14k stars 298 forks source link

Mask for 1-9 values (instead of 0-9) #1366

Open xtrandom opened 1 month ago

xtrandom commented 1 month ago

🚀 feature request

Description

9 allows 0-9 optional, 0 allows 0-9 required; Is it possible to create a mask for 1-9? Ideally, I want 1-99 value but not 0-99. I tried leadZero=true, but that did not work. There's probably a way already, but I'm not finding it. Perhaps custom regex mask? But wondering it's possible with basic mask.

Currently using 16.4.2 for Angular 16

Thank you!

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A