IgxDatePicker does not reset its state upon resetForm
Description
IgxDatePicker does not reset its state upon resetForm. Is there any configuration missing in the implementation?
- igniteui-angular version: 11.1.10
- browser: n/a
Steps to reproduce
- Run the sample (https://stackblitz.com/edit/github-yrdu1t-uv6ki9?file=src%2Fapp%2Fscheduling%2Fdatepicker%2Fdatepicker-sample-6%2Fdatepicker-sample-6.component.html)
- Input date on IgxDatePicker
- Enter any string on IgxInput
- Manually clear values on IgxDatePicker and IgxInput
- Click "RESET FORM" button
Result
IgxDatePicker remain its required error.
Expected result
Required error on IgxDatePicker is cleared.
Note
If we skip the step 4, the error state of the IgxDatePicker is cleared.
Attachment

@Lipata, @jackofdiamond5 Is there a workaround for this issue?
@ymita This is a bug that reproduces in 12.0 as well, so we will fix it in all supported versions.
@jackofdiamond5 Thank you for the update. We have a customer who will stay in 11.1.x. For this customer, is there a workaround that we can provide?
@Lipata , @jackofdiamond5 Is there a workaround for this issue? If there is no feasible workaround, would you kindly let me know?
Hi, @ymita.
There is already a PR resolving that issue - we need to approve and verify it. There are going to have PRs also for 11.1.x and 10.2.x and we will work on finalizing them. Will it be possible to apply a patch because there isn't a proper workaround?
Hi @Lipata,
I am contacting to the customer if she can use 11.1.x that includes the fix. If I need further assistance with this, I will consult you!