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
There are issues with field "name" type, I mean the type calculated with the ExtractKeysOfValueType utility.
Especially with a nested object form value type, so if the name is like mapStore.className the utility can't determine the type falling back to never...
I see two options:
Formik is using a simple string type for all names, we could do the same. But it would be a degradation, since ExtractKeysOfValueType works nice in 90% of cases.
Add a possibility to turn strict type of bypassing a ready type value, e.g. in the exanple if passing the second generic argument (string) it won't check with ExtractKeysOfValueType
There are issues with field "name" type, I mean the type calculated with the
ExtractKeysOfValueType
utility.Especially with a nested object form value type, so if the name is like
mapStore.className
the utility can't determine the type falling back tonever
...I see two options:
Formik
is using a simple string type for all names, we could do the same. But it would be a degradation, sinceExtractKeysOfValueType
works nice in 90% of cases.ExtractKeysOfValueType
Comment from @allfayn
We can take one of these strategies:
The text was updated successfully, but these errors were encountered: