Browse Source
Merge pull request #7875 from ArtemDzhereleiko/AD/bug-fix/phone-input-update
Fix phone input update on save changes
pull/7997/head
Igor Kulikov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
ui-ngx/src/app/shared/components/phone-input.component.ts
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|