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 suggest to add an option to createField which would control a fallback value of initialValue (which is registeredValue internally).
Why
The fallback value of registeredValue is a hard-coded empty string at the moment. That causes issues with fields which expect a different data type, rather than string (i.e. datepickers).
How
Add a new option.
Provide it instead of an empty string.
Write respective test(s).
The text was updated successfully, but these errors were encountered:
What
I suggest to add an option to
createField
which would control a fallback value ofinitialValue
(which isregisteredValue
internally).Why
The fallback value of
registeredValue
is a hard-coded empty string at the moment. That causes issues with fields which expect a different data type, rather than string (i.e. datepickers).How
The text was updated successfully, but these errors were encountered: