-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input field show dial code when updated #61
Comments
The same issue here |
My workaround is calling |
HTML
Javascript
hasError() is used for validation Hope it helped. Any further queries can be asked. |
@priscillashamin12 can u provided the whole code of this package... I cannot understand what is this.constant. |
I am using Angular 8 and I need to update the phone number in my FormControl so I use this instruction:
myForMontrol.patchValue(this.landline.getNumber())
but I always see the dial code in my input and I don't want to see it.When I create the form I correctly see only number and not the dial code(with correct flag)
Expected behaviour
I am expecting that when I update the formControl I don't see the dial code
Initialisation options
The text was updated successfully, but these errors were encountered: