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

can't set textfield value to empty string or null #98

Open
csidi90 opened this issue Jul 8, 2021 · 1 comment
Open

can't set textfield value to empty string or null #98

csidi90 opened this issue Jul 8, 2021 · 1 comment

Comments

@csidi90
Copy link

csidi90 commented Jul 8, 2021

When I set the v-model variable to null or "" the last picked date still remains in the date picker. Anyone can help me out how to reset it?

@SvetlozarValchev
Copy link

The only way I've found is to set a ref="dateElement" and then call it with this.$refs['dateElement'].clearHandler()

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

2 participants