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

IgxDatePicker: Date is not getting cleared on clicking clear button when invalid date is entered #9189

Closed
saj25 opened this issue Mar 24, 2021 · 0 comments · Fixed by #9160
Closed
Assignees
Labels

Comments

@saj25
Copy link

saj25 commented Mar 24, 2021

Description

When trying to clear the date input that is invalid using clear icon, it is not working and instead clear button disappears.

  • igniteui-angular version: 10.2.3
  • browser: Chrome

Steps to reproduce

  1. Set a disabled dates range.
  2. Enter an invalid date (that lies within the disabled date range) using keyboard.
  3. Try to clear the input field using clear button.

Result

The date that is entered is not getting cleared on clicking clear, instead the clear button itself disappears.

Expected result

The date input should get cleared always on clicking the clear button regardless of being valid or invalid.
Also when user tries to enter any date that falls in the disabled dates range, validation should fail.

Attachments

Attach a sample if available, and screenshots, if applicable.

@jackofdiamond5 jackofdiamond5 added the 🐛 bug Any issue that describes a bug label Mar 24, 2021
@jackofdiamond5 jackofdiamond5 self-assigned this Mar 24, 2021
@Lipata Lipata mentioned this issue Apr 14, 2021
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants