0

I have been trying to use the react-dates DateRangePicker component in my code but when I disable either startDate/endDate, the clearDates functionality doesn't work.

Can someone look into this and let me know what am i doing wrong here?

below is the live codeSandbox link for the demo. demo link

enter image description here

Rahul Chauhan
  • 15
  • 2
  • 7
  • You're doing nothing wrong. is just you can't clear the date when you are disabling a date input. But you can create a button that does that for u. – Salah a Mar 27 '23 at 05:59

0 Answers0