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
For my case, yup resolver was causing the issue. (I was using Custom Hook with ResolverShown in this docs )
To address the problem,
I switched to using the @hookform/resolvers package.
However, I also discovered that using square brackets instead of a dotted name can resolve the issue.
For example, instead of test.${index}.lasttname, you can use test[${index}].lastName when defining the name property for a Controller component.
This may be a simpler solution for some cases.
This works because the square brackets align with the name that Yup uses.
the error dont appear in error message
not sure if this is an issue but cant figure out an other way
The text was updated successfully, but these errors were encountered: