This fix allows undefined dates to be used without causing an error. For my use case I don't want to initialize the date to today's date. I want the user to select the date and the field should be initially blank. This fixes #2.
The changes are pretty straightforward. It doesn't require you to encapsulate the date state or make any other changes. It should work for your use case as well as mine.
This fix allows undefined dates to be used without causing an error. For my use case I don't want to initialize the date to today's date. I want the user to select the date and the field should be initially blank. This fixes #2.
The changes are pretty straightforward. It doesn't require you to encapsulate the date state or make any other changes. It should work for your use case as well as mine.