Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minDate did not work in Mozilla #461

Open
ademilua opened this issue Apr 1, 2022 · 1 comment
Open

minDate did not work in Mozilla #461

ademilua opened this issue Apr 1, 2022 · 1 comment

Comments

@ademilua
Copy link

ademilua commented Apr 1, 2022

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.

@gustaflindqvist
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants