Skip to content
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

Not able to type freely when have initial value (using v-model) #110

Open
hjJunior opened this issue May 9, 2023 · 0 comments
Open

Not able to type freely when have initial value (using v-model) #110

hjJunior opened this issue May 9, 2023 · 0 comments

Comments

@hjJunior
Copy link

hjJunior commented May 9, 2023

Current behavior

I'm not able to type freely in the field when the field already have an initial value
Only works if I clear all the field value

Expected behavior

Should be able to edit the input when already prefilled

Versions

Libraries:

  • vue: 2.6.12
  • vuetify: 2.6.15
  • vue-tel-input-vuetify: 1.3.0

Environment:

  • Device: Desktop - WSL 2
  • OS: Windows 11 + WSL 2
  • Browser: Chrome
  • Browser Version: 113.0.5672.63

Additional context

You can check the current behavior:
https://github.com/yogakurniawan/vue-tel-input-vuetify/assets/10780132/617ebe4e-debf-4dc2-b8b5-12c80d6ec35b

Template

<vue-tel-input-vuetify
  v-model="phone"
  class="phone-input"
  required
  outlined
  :preferred-countries="['US']"
  :max-len="10"
  default-country="US"
/>

Script

export default {
  data() {
    return {
      phone: '+15125337768',
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant