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

Function onSubmit

examples/V6/customMaskedInputWithController.tsx:38–40  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

36};
37
38const onSubmit = (data) => {
39 console.log('submit', data);
40};
41
42export default function App() {
43 const { handleSubmit, errors, control } = useForm({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected