0

I'm missing something.

Have a pipe on a phone number input. The pipe adds in the paraphrases and dash as you type.

<ion-input type="tel" name="cellPhone" id="cellPhone" [(ngModel)]="phoneNumber" name="cellPhone" id="cellPhone" value="{{phoneNumber|phoneMask}}"></ion-input>

Getting an error

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '1'. Current value: '(1'.

I know it has to deal with the binding of cellphone. Not sure which end to fix.

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
Max Power
  • 65
  • 1
  • 12

0 Answers0