Fix phoneinput inputval watcher (#631)

This commit is contained in:
Chirag Chhatrala 2024-11-25 21:56:43 +05:30 committed by GitHub
parent 1a917cf7ce
commit 1224b890db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,8 @@ export default {
watch: {
inputVal: {
handler(val) {
if (!this.selectedCountryCode) return
if (val && val.startsWith("0")) {
val = val.substring(1)
}