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

[DatePicker, TimePicker, DateTimePicker, DateInput] Clear button doesn't reset incompleteDateValidation #4495

Open
yanmariomenev opened this issue Dec 23, 2024 · 0 comments

Comments

@yanmariomenev
Copy link
Contributor

yanmariomenev commented Dec 23, 2024

Description

The clear button currently resets the minError and maxError, but it doesn't reset the incompleteDateValidation of the component.

Steps To Reproduce

  1. Open the following example - https://stackblitz.com/edit/angular-epfd9ttb
  2. Clear the date and time in any segment. For example, set the day to 12 and then try to clear it using the clear button. The input resets, but the incompleteDate validation remains true.

Screenshots or video

Image

Workaround

Reset the incompleteDateValidation manually on null dates:
https://stackblitz.com/edit/angular-epfd9ttb-mgj1tm2v

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

No branches or pull requests

3 participants