reecelucas / react-datepicker

An accessible, internationalizable React datepicker
MIT License
12 stars 6 forks source link

Programatically clear or 'reset' to initial state programmatically? #15

Open mikepspc opened 3 years ago

mikepspc commented 3 years ago

Hi there,

How would I reset a date field to initial state programatically?

Currently it seems like the only way to update the value is by user input, directly on the field.

Is there an intended way to handle form clears, etc?