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
I would like to implement some custom date parse logic using the format.toValue(...) option.
Currently, when this parse function returns undefined for an invalid date string (e.g. "xyz"), the value of the date picker is reverted to the last selected date.
Is there a way that the value is cleared instead of reverted if the parser returns undefined?
Hello and thank you for this library.
I would like to implement some custom date parse logic using the
format.toValue(...)
option.Currently, when this parse function returns
undefined
for an invalid date string (e.g. "xyz"), the value of the date picker is reverted to the last selected date.Is there a way that the value is cleared instead of reverted if the parser returns
undefined
?Codepen to experiment: https://codepen.io/shimikano/pen/OJqJZZY
The text was updated successfully, but these errors were encountered: