-
Notifications
You must be signed in to change notification settings - Fork 56
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
How to clear the input programmatically #62
Comments
Assuming you're using the |
I indeed use the Thank you for your help. |
Hmm, so while the underlying value is changed the actual input isn't cleared. I've submitted a pull request here: #69 Btw I don't believe your |
Thank you. Waiting for the #55 to be merged. I also think your approach is better but we will see :) |
I also have the same issue. Setting the bound to variable's value to "" or null does not clear the input. |
Hi,
First, thank you for that awesome component! Works like a charm!
I am looking for a simple way to clear the input programmatically without the use of the
data-clear
button?I use the
<datepicker>
component in the template of another component. I would like to be able to clear the input of the datepicker within a@submit
event from the parent form.Thank you for your help.
Regards,
Clément
The text was updated successfully, but these errors were encountered: