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

clear button and set manually #17

Closed
Mohammad99k opened this issue Mar 13, 2022 · 4 comments
Closed

clear button and set manually #17

Mohammad99k opened this issue Mar 13, 2022 · 4 comments

Comments

@Mohammad99k
Copy link

Hi
I have two questions:

  1. Which event call when click clear button?
  2. How to set manually date or time? When I set value in input clear button not working so must be a way that set value and set input value to.
@alireza-ab
Copy link
Owner

Hi @Mohammad99k

  1. When the clear button is clicked, any event is not called. just model value is cleared.
  2. Please see this how to set date to datepicker ? #4.

@Mohammad99k
Copy link
Author

thank you vert much
Is there a way that do some thing after clear btn clicked?

@alireza-ab
Copy link
Owner

I will add the clear event for when the clear button is clicked.

@alireza-ab
Copy link
Owner

Now, this added 🙂. https://alireza-ab.ir/datepicker/events#clear

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