Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid inconsistent validity due to deleting from $error
We noticed that in some cases after clearing the field to type a new number the ng-invalid class stuck around despite ng-valid-international-phone-number. This fixes what may be due to an inconsistency in ngModelController after deleting the key from $error.
- Loading branch information