Closed MOwais closed 3 years ago
I am using iOS 14.1 The date picker spinner is only showing the current date. After clicking the current date it shows a popup calendar.
In iOS 12.x it works correctly. See images below.
iOS 14.x behavior(INCORRECT):
iOS 12.x behavior:
<DatePicker {...moreOptions} style={styles.dateContainer} date={value} mode="date" placeholder={placeholder} format='MM-DD-YYYY' confirmBtnText="Confirm" cancelBtnText="Cancel" disabled={disabled} // customStyles={{ // dateIcon: { // display:'none', // alignItems:'flex-end' , // color:'black' // }, // }} onDateChange={this.onDateChange} />
react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2 react-native-datepicker: ^1.7.2
Issue is resolved here - https://github.com/xgfe/react-native-datepicker/issues/425
I am using iOS 14.1 The date picker spinner is only showing the current date. After clicking the current date it shows a popup calendar.
In iOS 12.x it works correctly. See images below.
iOS 14.x behavior(INCORRECT):
Expected Behavior
iOS 12.x behavior:
Code
Environment
react: 16.11.0 => 16.11.0 react-native: 0.62.2 => 0.62.2 react-native-datepicker: ^1.7.2