Skip to content

minDate did not work in Mozilla #461

@ademilua

Description

@ademilua

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions