I have in my app const string number_MASK = "000-000"
, and in my html
, on the input something like this:
<input type="text" class="form-control" placeholder="Enter Number #" data-mask="@Constants.number_MASK">
Is there a way to change the mask so when user enters some random number like 599563
to input value to be 005-995 ?
I specifically need two first letters of the string to be 00