Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I found a solution for the validate object when used with multistep form. Just create
And use it in a useForm validate and it works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.8.0
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Firefox
Describe the bug
According to the docs,
However, mixing the two sets
hasErrors
to be true as the return of validate function returns an object.Response of the validate is
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-react-template-forked-l8hl8k
Possible fix
Maybe verify and step through the object when the return of the validate function is a partial of the
initialValues
?Self-service
Beta Was this translation helpful? Give feedback.
All reactions