Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MdDatepicker] autoclose on select
2 participants