Merge pull request #7875 from ArtemDzhereleiko/AD/bug-fix/phone-input-update
Fix phone input update on save changes
This commit is contained in:
commit
03d3999d36
@ -274,6 +274,7 @@ export class PhoneInputComponent implements OnInit, ControlValueAccessor, Valida
|
||||
if (phoneNumber.value === '+' || phoneNumber.value === this.countryCallingCode) {
|
||||
this.propagateChange(null);
|
||||
} else if (phoneNumber.valid) {
|
||||
this.modelValue = phoneNumber.value;
|
||||
if (parsedPhoneNumber) {
|
||||
this.updateModelValueInFormat(parsedPhoneNumber);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user