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

[breaking] Implement controlled component support #217

Merged
merged 1 commit into from
Sep 26, 2019

Conversation

wojtekmaj
Copy link
Owner

  • Implement defaultValue, defaultView, defaultActiveStartDate
  • Add onViewChange callback
  • Rename onActiveDateChange to onActiveStartDateChange
  • Prioritize activeStartDate over value when getting default active start date

@wojtekmaj wojtekmaj added this to the 3.0.0 milestone Jul 27, 2019
@wojtekmaj wojtekmaj force-pushed the controlled-calendar branch 2 times, most recently from 8044f7b to 713d140 Compare July 27, 2019 20:52
* Implement defaultValue, defaultView, defaultActiveStartDate
* Add onViewChange callback
* Rename onActiveDateChange to onActiveStartDateChange
* Prioritize activeStartDate over value when getting default active start date
@wojtekmaj wojtekmaj merged commit c1376ee into master Sep 26, 2019
@wojtekmaj wojtekmaj deleted the controlled-calendar branch September 26, 2019 11:31
felixmosh pushed a commit to felixmosh/react-calendar that referenced this pull request Nov 8, 2020
* Implement defaultValue, defaultView, defaultActiveStartDate
* Add onViewChange callback
* Rename onActiveDateChange to onActiveStartDateChange
* Prioritize activeStartDate over value when getting default active start date
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.

1 participant