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

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)
}