I am trying to test validation on this control but when I take the digits down to 9 and back to 10 the validation is still invalid.
<input type="tel" #phone="ngModel" required pattern="^\d{10}$" class="form-control" [class.is-invalid]="phone.invalid && phone.touched" name="phone" [(ngModel)]="userModel.phone">