MCPcopy Create free account
hub / github.com/react-hook-form/react-hook-form / onSubmit

Function onSubmit

examples/V7/useFieldArraySimpleExample.tsx:16–16  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

14 });
15
16 const onSubmit = (data) => console.log(data);
17
18 return (
19 <form onSubmit={handleSubmit(onSubmit)}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected