Skip to content

Conversation

@sieu-db
Copy link
Collaborator

@sieu-db sieu-db commented Feb 10, 2025

Important

Fixes infinite loop in DatePicker by refining date validation logic and adds a new example in DatePickerExample.tsx.

  • Behavior:
    • Fixes infinite loop in DatePicker component in DatePicker.tsx by refining date validation logic.
    • Adjusts date setting logic to handle cases where the current date is outside the minimum and maximum date range.
  • Examples:
    • Adds a new DatePicker instance in DatePickerExample.tsx to demonstrate the fix with minimumDate set to current date.
  • Misc:
    • Renames DatePickerExample.js to DatePickerExample.tsx.

This description was created by Ellipsis for c1d9b52. It will automatically update as commits are pushed.

@sieu-db sieu-db requested a review from YoussefHenna February 10, 2025 09:37
@linear
Copy link

linear bot commented Feb 10, 2025

@sieu-db sieu-db requested a review from spiritanand February 10, 2025 09:37
@github-actions
Copy link

Published version: @draftbit/ui@50.8.6-58a272.2

@sieu-db sieu-db merged commit e92fccd into 50 Feb 10, 2025
1 check passed
@sieu-db sieu-db deleted the sieu/p-5973-fix-inifinity-loop-date-picker-50 branch February 10, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants