MCPcopy
hub / github.com/final-form/final-form / beforeSubmit

Function beforeSubmit

src/FinalForm.ts:746–751  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

744 };
745
746 const beforeSubmit = (): boolean =>
747 Object.keys(state.fields).some(
748 (name) =>
749 state.fields[name].beforeSubmit &&
750 state.fields[name].beforeSubmit() === false,
751 );
752
753 const afterSubmit = (): void =>
754 Object.keys(state.fields).forEach(

Callers 1

createFormFunction · 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…