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

[calcite-input-time-picker]: min value is disabling month #11321

Open
2 of 6 tasks
jasdelreyes opened this issue Jan 16, 2025 · 0 comments
Open
2 of 6 tasks

[calcite-input-time-picker]: min value is disabling month #11321

jasdelreyes opened this issue Jan 16, 2025 · 0 comments
Assignees
Labels
1 - assigned Issues that are assigned to a sprint and a team member. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone needs triage Planning workflow - pending design/dev review.

Comments

@jasdelreyes
Copy link

Check existing issues

Actual Behavior

When the min is set to a day in a month different from the initially selected date, the whole month of the min value is disabled in the dropdown.

Image

Expected Behavior

The month of the minDate, when appropriate should be enabled in the dropdown.

For example, if the minimum date were January 16th, January should still be enabled due to other days in January that are still valid.

Reproduction Sample

https://codepen.io/jasdelreyes/pen/MYgXzEO

Reproduction Steps

Open codepen link.

Reproduction Version

~3.0.0-next.90

Relevant Info

No response

Regression?

No response

Priority impact

impact - p1 - need for current milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

@jasdelreyes jasdelreyes added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Jan 16, 2025
@github-actions github-actions bot added ArcGIS Online Issues logged by ArcGIS Online team members. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone labels Jan 16, 2025
@jasdelreyes jasdelreyes changed the title calcite-input-time-picker calcite-input-time-picker min value is disabling month Jan 16, 2025
@jasdelreyes jasdelreyes changed the title calcite-input-time-picker min value is disabling month [calcite-input-time-picker]: min value is disabling month Jan 16, 2025
@anveshmekala anveshmekala self-assigned this Jan 16, 2025
@anveshmekala anveshmekala added estimate - 3 A day or two of work, likely requires updates to tests. 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - assigned Issues that are assigned to a sprint and a team member. ArcGIS Online Issues logged by ArcGIS Online team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. impact - p1 - need for current milestone User set priority impact status of p1 - need for current milestone needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

2 participants