Types for the fieldErrors in atomWithFormControls is missing types.
The fieldErrors and error split was made to be an easy way to differentiate but it seems like it's easy to forget that there's a fieldError concept even when there's types.
Might want to change the API to have the below instead.
Types for the
fieldErrors
inatomWithFormControls
is missing types.The
fieldErrors
anderror
split was made to be an easy way to differentiate but it seems like it's easy to forget that there's a fieldError concept even when there's types.Might want to change the API to have the below instead.