DatePicker: Add defaultView option
- [x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
- [x] Make sure you are merging your commits to
devbranch. - [x] Add some descriptions and refer relative issues for you PR.
Fixes the issue #15079
This allows for a datepicker to be opened with a default view (eg: year, month, date)
Using the option <el-datepicker :picker-options="{defaultView:'year'}">
Deploy preview for element ready!
Built with commit dc968c8f3528531347f58f26bc7485f1a4c4d28e
https://deploy-preview-18301--element.netlify.com
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still waiting...
@cs1707
would love to see that merged!
When can this feature be merged? I would love to use this as well!