When the user selects a date of previous month or future month and then clicks on the clear icon in the date field..the date picker should be resetted to the current date.
Example: I am selecting the date as 03-09-2021 in the datefield from datepicker. I wish to clear the datefield now and I am clicking on the clear icon present in the datefield. The date picker does not reset to currentdate(31-08-21) but still stays on 03-09-2021 . Attaching the images for reference. Thanks in advance