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

feat(MdDatepicker): add immediately option #1607

Merged
merged 2 commits into from
Mar 27, 2018
Merged

feat(MdDatepicker): add immediately option #1607

merged 2 commits into from
Mar 27, 2018

Conversation

VdustR
Copy link
Member

@VdustR VdustR commented Mar 16, 2018

Main feature

Click to select date without confirm and close the dialog immediately.

Other changes

  • If disable MdImmediately, date would not be selected before click confirm button. Before this change, confirm button is useless.
  • Selected date in datepicker will reset when cancel button clicked(on the dialog closed).
  • setContentStyles is always called when transition start. I think this way is better than setTimeout.
  • fix clear button did not clear selectedDate bug.

fix #1606

@marcosmoura marcosmoura merged commit f62ec6a into vuematerial:dev Mar 27, 2018
@VdustR VdustR deleted the feat/MdDatepicker/immediately branch March 28, 2018 00:49
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.

[MdDatepicker] autoclose on select
2 participants