Open tomschreck opened 7 years ago
Still having the same issue. I installed ng2-validation version 4.2.0 and libphonenumber-js version 0.4.43. I have to revert back to ng2-validation version 3.9.0 and libphonenumber-js 0.4.6.
this.DataEntryForm = this.formBuilder.group
({
...
PhoneNumber: [ new asYouType('US').input(this.DataEntryModel.Customer.PhoneNumber), Validators.compose([ Validators.required, CustomValidators.phone('US') ]) ],
...
});
Any idea when this issue will be fixed?
US styled phone numbers are failing validation. I need to have my phone numbers styled as (888) 888-8888. This used to work with version 3.9.0. I've had to revert back to version 3.9.0.