Closed bogdanorzea closed 5 months ago
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 👍
:tada: This issue has been resolved in version 8.1.1 :tada:
If this package helps you, consider sponsoring us! :rocket:
Summary
This is a regression in 8.1.0 caused by the removal of a condition that sets the max date in Android: https://github.com/react-native-datetimepicker/datetimepicker/commit/3b635633844864cdfd7a109ffe927e271872213e#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
Checklist
README.md
~example/App.js
)~