You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2018. It is now read-only.
Setting a null value initially for the datepicker (or an empty string for that matter) breaks the datepicker. If it is passed a null value, the calendar isn't even shown and there is a NaN title. If passed an empty string, the calendar is shown, but the internal state's selectedDate is invalid, and since every new value is cloned from it, all further values are invalid and the onChange always returns an "invalid date" string.
It would be nice to support a null value in the DateTimeField since sometimes in forms the dates are optional.