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

autoclose() should trigger datepicker-apply #257

Closed
wants to merge 1 commit into from

Conversation

multiwebinc
Copy link
Contributor

When autoclose is set to true, there is no way to listen to an event where the second date is chosen specifically by the user. If you bind to datepicker-change this is also triggered when changing the date programatically using setDateRange(), so you can't differentiate between this and being changed by the user. It makes sense to me that autoclose should also auto-apply.

When `autoclose` is set to `true`, there is no way to listen to an event where the second date is chosen specifically by the user. If you bind to `datepicker-change` this is also triggered when changing the date programatically using `setDateRange()`, so you can't differentiate between this and being changed by the user. It makes sense to me that `autoclose` should also auto-apply.
@holtkamp
Copy link
Collaborator

holtkamp commented Jun 29, 2016

@multiwebinc, just wondering, why did you close this PR? Because of #258?

@multiwebinc
Copy link
Contributor Author

@holtkamp Because it didn't work as expected. The event was triggered on the initial drawing among others which wasn't what was expected. I couldn't figure out how to edit it, so I submitted another PR #258

@holtkamp
Copy link
Collaborator

Ok thanks, let's have a look at #258 😄

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

Successfully merging this pull request may close these issues.

2 participants