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

[Date Picker]: disabled dates can be manually entered and applied #2775

Open
NatalliaAlieva opened this issue Mar 11, 2025 · 0 comments
Open
Labels
bug Something isn't working Date Picker Label for Date Picker components

Comments

@NatalliaAlieva
Copy link
Collaborator

Description

In the Date Picker, users should not be able to select disabled dates. While clicking on a disabled date does nothing (as expected), manually entering a disabled date in the input field allows it to be applied. Additionally, users can first select a valid date and then modify it to a disabled date, which also gets applied.

Steps to Reproduce

  1. Open Disable Dates example in the Date Picker.
  2. Identify disabled dates in the calendar.
  3. Manually type the disabled date into the input field and click outside the field.
  4. Observe that the disabled date is applied.
  5. Select a valid date using the calendar.
  6. Edit the selected date manually in the input field, changing it to a disabled date.
  7. Observe that the disabled date remains applied.

Actual result

The Date Picker allows users to apply disabled dates when entered manually.

Screen.Recording.2025-03-11.at.15.23.33.mov

Expected result

The Date Picker should validate manually entered dates and prevent applying disabled ones.

Environment

  • UUI version: 5.13.2
  • Browser name: any
  • Operating System: any
@NatalliaAlieva NatalliaAlieva added bug Something isn't working Date Picker Label for Date Picker components labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Date Picker Label for Date Picker components
Projects
Status: Backlog
Development

No branches or pull requests

2 participants