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] autoclose on select #1606

Closed
adrianjost opened this issue Mar 16, 2018 · 0 comments · Fixed by #1607
Closed

[MdDatepicker] autoclose on select #1606

adrianjost opened this issue Mar 16, 2018 · 0 comments · Fixed by #1607

Comments

@adrianjost
Copy link
Contributor

I would like to see an option for the datepicker to auto close if the user selects an date so he doesn't need to click "ok".
This would optimize the workflow in some cases because the user doesn't have to click "ok" to confirm his selection and can continue faster.

I'm thinking about an attribute like this:
Name

md-close-on-selection

Description

Closes the datepicker directly when the user selects an date and hides the confirm ("ok") button.

Default

false

marcosmoura pushed a commit that referenced this issue Mar 27, 2018
* feat(MdDatepicker): add immediately option

click to select date without confirm and close the dialog immediately

fix #1606

* fix(MdDatepicker): hide confirm button when mdImmediately is on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants