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

[Date Picker] minDate doesn't allow to select that min value. #963

Open
diurivj opened this issue Sep 22, 2020 · 0 comments
Open

[Date Picker] minDate doesn't allow to select that min value. #963

diurivj opened this issue Sep 22, 2020 · 0 comments
Labels
Milestone

Comments

@diurivj
Copy link

diurivj commented Sep 22, 2020

Description:
When you set a minDate value, you cannot actually select that date.

To Reproduce:

  1. Set the minDate value to new Date() (today):
 <DatePickerInput
    inline
    autoOk
    defaultValue={null}
    locales="en-US"
    id="inline-date-picker-start"
    label={`Start time ${!startDate ? ' ...' : ''}`}
    animateInline={false}
    minDate={new Date()}
    value={startDate}
    onChange={(v, d) => setStartDate(d)}
    pickerFooterClassName="hidden-footer"
/>
  1. Open the DatePicker and try to select today.

Expected behavior:
Should be able to select the minDate value.

Desktop:

  • OS: [macOS Big Sur 11.0 Beta]
  • Browser [Chrome]
  • Version [85.0.4183.102 (Official Build) (64-bit)]
@diurivj diurivj added the bug label Sep 22, 2020
@mlaursen mlaursen added the v1 label Sep 25, 2020
@mlaursen mlaursen added this to the v.Unknown milestone Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants