Fix phoneinput inputval watcher (#631)
This commit is contained in:
parent
1a917cf7ce
commit
1224b890db
|
|
@ -124,6 +124,8 @@ export default {
|
|||
watch: {
|
||||
inputVal: {
|
||||
handler(val) {
|
||||
if (!this.selectedCountryCode) return
|
||||
|
||||
if (val && val.startsWith("0")) {
|
||||
val = val.substring(1)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue