arjav1528 opened a new issue, #59949:
URL: https://github.com/apache/airflow/issues/59949

   ### Apache Airflow version
   
   3.1.5
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   The date range picker currently exhibits inconsistent behavior when handling 
edge cases such as invalid dates, invalid times, boundary transitions, and 
partial date ranges. Some scenarios are not validated correctly, while others 
lack explicit assertions, making failures harder to detect and debug.
   Additionally, certain user interactions (e.g., partial ranges, removal 
actions, or invalid inputs) are not covered by existing tests, which can allow 
regressions to go unnoticed.
   
   ### What you think should happen instead?
   
   The date range picker should:
   Validate invalid dates and times consistently (e.g., invalid months, days, 
and time values)
   Correctly handle boundary cases such as leap years and month/year transitions
   Support partial ranges (only start or only end) with predictable behavior
   Trigger callbacks (onChange, onRemove) only when inputs are valid
   Clear validation errors appropriately when inputs are corrected
   Test coverage should explicitly assert these behaviors to ensure long-term 
correctness and maintainability.
   
   ### How to reproduce
   
   How to reproduce
   Open the date range picker component
   Enter invalid date or time values (e.g., month 13, day 32, time 25:00)
   Try boundary cases (e.g., Feb 29 on non-leap year, start date after end date)
   Provide partial inputs (only start date or only end date)
   Observe inconsistent validation behavior or lack of clear feedback
   
   ### Operating System
   
   macOS (Apple Silicon / Intel)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to