Skip to content

fix: calendar input always showing warning for smaller grains - #9842

Merged
AdityaHegde merged 1 commit into
mainfrom
fix/calender-input-smaller-grain
Aug 31, 2026
Merged

fix: calendar input always showing warning for smaller grains#9842
AdityaHegde merged 1 commit into
mainfrom
fix/calender-input-smaller-grain

Conversation

@AdityaHegde

Copy link
Copy Markdown
Collaborator

Calendar input always showed warning when min_grain < day. Since the input selects days it doesnt make sense to snap max date for anything smaller.

Updating to snap max date by day at the least. Also added some component tests.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@AdityaHegde
AdityaHegde merged commit 23beb0b into main Aug 31, 2026
16 checks passed
@AdityaHegde
AdityaHegde deleted the fix/calender-input-smaller-grain branch August 31, 2026 04:57
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

Successfully merging this pull request may close these issues.

2 participants