MCPcopy
hub / github.com/react-hook-form/react-hook-form / onInvalid

Function onInvalid

app/src/basic.tsx:39–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37 });
38 const [onInvalidCalledTimes, setOnInvalidCalledTimes] = useState(0);
39 const onInvalid = () => setOnInvalidCalledTimes((prevCount) => prevCount + 1);
40
41 renderCounter++;
42

Callers 1

handleSubmitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…