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

DatePicker disabled dates missing styling #3434

Closed
2 tasks done
austinbruch opened this issue Jul 17, 2019 · 0 comments · Fixed by #5085
Closed
2 tasks done

DatePicker disabled dates missing styling #3434

austinbruch opened this issue Jul 17, 2019 · 0 comments · Fixed by #5085
Assignees
Labels

Comments

@austinbruch
Copy link

When using a DatePicker with date range options and specifying a min and max date, the out of range dates are not styled to indicate their inability to be selected.

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

Describe in detail the issue you're having.

When using a DatePicker with date range options and specifying a min and max date, the out of range dates are not styled to indicate their inability to be selected.

Is this issue related to a specific component?

DatePicker and DatePickerInput

What did you expect to happen? What happened instead? What would you like to
see changed?

I expected to see the out of range dates to be styling different from within-range dates.

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

10.4.1

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

IBM Cloud Identity

Steps to reproduce the issue

  1. Render a DatePicker with 2 DatePickerInput components
  2. Specify a min and max date on the DatePicker.
  3. Open the Date Picker to pick a date.

Please create a reduced test case in CodeSandbox

https://codesandbox.io/s/codesandbox-n5064

Additional information

Screenshot:
image

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

Successfully merging a pull request may close this issue.

4 participants