mmazzarolo / react-native-modal-datetime-picker

A React-Native datetime-picker for Android and iOS
MIT License
2.96k stars 396 forks source link

I want to hide the dates that are outside the range. It it possible? #756

Open JestemTrzcinska opened 2 months ago

JestemTrzcinska commented 2 months ago

I want to hide the dates that are outside the range. It it possible?

<DateTimePickerModal
  date={newDate}
  isVisible={isVisible}
  display={'inline'}
  minimumDate={minimumDate}
  maximumDate={maximumDate}
  mode="datetime"
  onConfirm={onConfirm}
  onCancel={onCancel}
  minuteInterval={15}
/>
image


I would like to not show those after maximum date:

image

Originally posted by @JestemTrzcinska in https://github.com/mmazzarolo/react-native-modal-datetime-picker/discussions/752