InputMask with ngModel not updating first character #587
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
<p-inputMask mask="(99) 9999[9]-9999" [unmask]="true" name="cel" [(ngModel)]="cel" required></p-inputMask>
With the example above, when i type 2 digits the model is updated with 1 digit only.
For example: I type "4", the model is blank. When I type "34" the model is now 3. When I type "342" then the model is 34.
The backspace is working fine and updating correctly
The text was updated successfully, but these errors were encountered: