react-native-datepicker icon indicating copy to clipboard operation
react-native-datepicker copied to clipboard

minDate did not work in Mozilla

Open ademilua opened this issue 2 years ago • 1 comments

Issue

The minDate did not work in mozilla

      <DatePicker
         selected={new Date(this.state.selectedStartDate)}
        onChange={this.handleStartDateChange}
        dateFormat="dd-MM-yyyy"
        minDate={new Date("01-01-2010")}
        showDisabledMonthNavigation
         />

Expected Behavior

This should hide date less than 01-01-2010. In chrome and other browsers it works as expected but failed in mozilla.

ademilua avatar Apr 01 '22 10:04 ademilua

This component is built for React-Native and iOS and Android. You should post this issue in https://github.com/Hacker0x01/react-datepicker

gustaflindqvist avatar May 09 '22 14:05 gustaflindqvist