Skip to content

Commit

Permalink
Fix phoneinput inputval watcher (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragchhatrala authored Nov 25, 2024
1 parent 1a917cf commit 1224b89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/components/forms/PhoneInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ export default {
watch: {
inputVal: {
handler(val) {
if (!this.selectedCountryCode) return
if (val && val.startsWith("0")) {
val = val.substring(1)
}
Expand Down

0 comments on commit 1224b89

Please sign in to comment.