user13247856
user13247856

Reputation:

Primeng inputMask autoClear not working as per documentation

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

Answers (1)

Balastrong
Balastrong

Reputation: 4474

Have you tried by adding " to autoClear="false"?

Or maybe with [autoClear]="false"?

Upvotes: 3

Related Questions