Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-hook-form/react-hook-form
/ onSubmit
Function
onSubmit
examples/V7/FieldArray.tsx:16–18 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
14
} = useForm();
15
const [size, setSize] = useState(1);
16
const onSubmit = (data) => {
17
alert(JSON.stringify(data));
18
};
19
20
console.log(errors);
21
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected