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

When used in a v-form and the form is reset, country is reset too #24

Closed
deRaaf opened this issue Aug 14, 2020 · 2 comments · Fixed by #77
Closed

When used in a v-form and the form is reset, country is reset too #24

deRaaf opened this issue Aug 14, 2020 · 2 comments · Fixed by #77
Labels

Comments

@deRaaf
Copy link

deRaaf commented Aug 14, 2020

Current behavior

When v-form is reset with $refs.form.reset() country is reset too, which results in an empty field.

Expected behavior

Country field shows default country when accessing to form the second time.

@Tofandel
Copy link
Contributor

Same issue, reseting the form results in the country field to be empty instead of the default country

Tofandel added a commit to Tofandel/vue-tel-input-vuetify that referenced this issue Jan 25, 2022
This resets the country code correctly when using $refs.form.reset
@Tofandel Tofandel mentioned this issue Jan 25, 2022
yogakurniawan pushed a commit that referenced this issue Mar 26, 2022
yogakurniawan pushed a commit that referenced this issue Mar 26, 2022
fix issue: When used in a v-form and the form is reset, country is reset too

#24
github-actions bot pushed a commit that referenced this issue Mar 26, 2022
## [1.5.2](v1.5.1...v1.5.2) (2022-03-26)

### Bug Fixes

* **lib:** fix [#24](#24) ([eb2c223](eb2c223))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants