datetimepicker
datetimepicker copied to clipboard
Fixed issue #907 TypeError: Cannot read property 'dismiss' of undefined
Summary
The error was described in this issue
- What issues does the pull request solve? it solves this issue
Test Plan
What's required for testing? run the code below on android
<DateTimePicker
testID="dateTimePicker"
timeZoneOffsetInMinutes={0}
value={date}
mode={mode}
is24Hour={true}
display={Platform.OS === 'ios' ? 'inline' : 'default'}
onChange={onChange}
minimumDate={new Date()}
/>
Compatibility
| OS | Implemented |
|---|---|
| iOS | ❌ |
| Android | ✅ |
Checklist
- [x] 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