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

fix(android): Re-enable setting max date #908

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

bogdanorzea
Copy link
Contributor

@bogdanorzea bogdanorzea commented Jun 14, 2024

Summary

This is a regression in 8.1.0 caused by the removal of a condition that sets the max date in Android:
3b63563#diff-c69fee0670676f78b9b27aeb6fbadc9c9edf486510166dc8194c5c8232f626ecL119-L121

Test Plan

What's required for testing (prerequisites)?

Run the example app using the command: yarn start:android

What are the steps to reproduce (after prerequisites)?

Tap TOGGLEMINMAXDATE button to open the DatePicker dialog. One should only be able to tap the available dates.

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)
  • I have added automated tests, either in JS or e2e tests, as applicable

@vonovak vonovak merged commit 1d966e6 into react-native-datetimepicker:master Jun 17, 2024
5 checks passed
@vonovak
Copy link
Member

vonovak commented Jun 17, 2024

Hello, and thank you for the PR!
Sorry for missing this. If you have the bandwidth, adding an e2e test for this would be nice :)
Thank you 👍

vonovak pushed a commit that referenced this pull request Jun 17, 2024
## [8.1.1](v8.1.0...v8.1.1) (2024-06-17)

### Bug Fixes

* **android:** re-enable setting max date ([#908](#908)) ([1d966e6](1d966e6))
@vonovak
Copy link
Member

vonovak commented Jun 17, 2024

🎉 This issue has been resolved in version 8.1.1 🎉

If this package helps you, consider sponsoring us! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants