Reputation:
As per document invalid input should not clear on using autoClear="false" but it is not working.
https://www.primefaces.org/primeng/showcase/#/inputmask
<p-inputMask autoClear="false" styleClass="form-control custom-input" placeholder="User phone number"
formControlName="phoneWork" maxlength="14" mask="(999) 999-9999"></p-inputMask>
Upvotes: 0
Views: 1763
Reputation: 4474
Have you tried by adding "
to autoClear="false"
?
Or maybe with [autoClear]="false"
?
Upvotes: 3