calendar
calendar copied to clipboard
on clicking close icon getting value as null in onChange
on clicking close (x) icon, getting value as null on onChange function this leads to Invalid Date

it should return the previous chosen date or the current date