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

DatePicker: add onPick option, close #2921 #3681

Merged
merged 2 commits into from
Mar 24, 2017
Merged

Conversation

QingWei-Li
Copy link
Contributor

Please makes sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

@@ -269,6 +269,7 @@ Picking a date range is supported.
| shortcuts | a { text, onClick } object array to set shortcut options, check the table below | object[] | — | — |
| disabledDate | a function determining if a date is disabled with that date as its parameter. Should return a Boolean | function | — | — |
| firstDayOfWeek | first day of week | Number | 1 to 7 | 7 |
| onPick | a callback can be executed when the seleted date is changeing. Only for `daterange` and `datetimerange`. | Function({ maxDate, minDate }) | - | - |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a callback that triggers when the seleted date is changed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我还直接拷的 antd 的文档 🌚

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

蜜汁 changeing

@baiyaaaaa baiyaaaaa merged commit 8f9b473 into ElemeFE:dev Mar 24, 2017
mdartic pushed a commit to mdartic/element that referenced this pull request Mar 31, 2017
* DatePicker: add onPick option, close ElemeFE#2921

* DatePicker: fix typo
caikan pushed a commit to caikan/element that referenced this pull request Apr 20, 2017
* DatePicker: add onPick option, close ElemeFE#2921

* DatePicker: fix typo
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.

None yet

3 participants