Long time user of this mask, previously i had been using the minlength and maxlength workaround to set the a range of numbers that can be inserted. I think with the introduction of Angular 4 and 5 the mask stopped performing to the minlength attribute, (maxlength currently still works).
This means that I can no longer set a minimum value for the input. As a workaround I have altered the clearMask function in InputService to define the minimum value as zero (instead of null).
It seems users of this package have been looking for a method to implement a range of values to particular fields, I.E Issue 90
I propose maybe it could be useful to add a minimum and maximum value to the options object.
Long time user of this mask, previously i had been using the minlength and maxlength workaround to set the a range of numbers that can be inserted. I think with the introduction of Angular 4 and 5 the mask stopped performing to the minlength attribute, (maxlength currently still works).
This means that I can no longer set a minimum value for the input. As a workaround I have altered the clearMask function in InputService to define the minimum value as zero (instead of null).
Though the DOM still removes the entire field including the placeholder. I fixed that issue by amending the applyMask function in InputService
It seems users of this package have been looking for a method to implement a range of values to particular fields, I.E Issue 90 I propose maybe it could be useful to add a minimum and maximum value to the options object.