We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98461e commit f70eea2Copy full SHA for f70eea2
src/content/docs/useformstate/errormessage.mdx
@@ -161,7 +161,7 @@ import { ErrorMessage } from '@hookform/error-message';
161
162
export default function App() {
163
const { register, formState: { errors }, handleSubmit } = useForm({
164
- criteriaMode "all"
+ criteriaMode: "all"
165
});
166
const onSubmit = data => console.log(data);
167
0 commit comments