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

[MdDatepicker] Throw events #1424

Closed
Tamakiwan opened this issue Jan 23, 2018 · 0 comments
Closed

[MdDatepicker] Throw events #1424

Tamakiwan opened this issue Jan 23, 2018 · 0 comments

Comments

@Tamakiwan
Copy link

I've had some people tell me that the way the datepicker saves the date on the bound variable is not intuitive, as you have to click on the "OK" button to actually select it. People have been clicking on the desired date and closing the datepicker by clicking outside of it, which doesn't actually save the selected date. Currently, there is no way to get the selected date but for the user to close the datepicker by clicking "OK".

Throwing an event onDateSelected with the clicked value and an event onDatepickerClosed would solve this problem, as these events could be listened to in order to reproduce the desired behavior, without actually changing how the datepicker works.

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

No branches or pull requests

2 participants