-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MdDatepicker): add immediately option (#1607)
* 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
- Loading branch information
1 parent
7259038
commit f62ec6a
Showing
4 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
docs/app/pages/Components/Datepicker/examples/CloseOnSelectDatepicker.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<template> | ||
<div> | ||
<md-datepicker v-model="selectedDate" md-immediately /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'CloseOnSelectDatepicker', | ||
data: () => ({ | ||
selectedDate: new Date('2018/03/26') | ||
}) | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters