react-native-datepicker
react-native-datepicker copied to clipboard
minDate did not work in Mozilla
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.
This component is built for React-Native and iOS and Android. You should post this issue in https://github.com/Hacker0x01/react-datepicker