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

[ic-date-input] - inconsistent behaviour on blur when field is in error #3025

Open
ad9242 opened this issue Jan 14, 2025 · 0 comments
Open
Milestone

Comments

@ad9242
Copy link
Contributor

ad9242 commented Jan 14, 2025

Summary of the bug

When a date-input has a validation error, there is inconsistent behaviour when the field loses focus. If using tab to leave the field, the date & error are cleared:

image

However, if clicking elsewhere to leave the field, the date & error remain

image

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Go to page: date-input disable past story

  2. Enter a date in the past

  3. use tab to tab over the clear input button & leave the field - the error & date are cleared

  4. repeat, but click outside of field instead of using tab key - the error & date remain

🧐 Expected behaviour

Field should remain in error in all cases when blurred

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

No branches or pull requests

3 participants