MCPcopy Create free account
hub / github.com/formkit/formkit / setSubmitted

Function setSubmitted

packages/inputs/src/features/forms.ts:32–39  ·  view source on GitHub ↗
(n: FormKitNode)

Source from the content-addressed store, hash-verified

30 }
31 // Set the submitted state on all children
32 const setSubmitted = (n: FormKitNode) =>
33 n.store.set(
34 createMessage({
35 key: 'submitted',
36 value: true,
37 visible: false,
38 })
39 )
40 node.walk(setSubmitted)
41 setSubmitted(node)
42

Callers 3

AppFunction · 0.85
handleSubmitFunction · 0.85
AppFunction · 0.85

Calls 1

createMessageFunction · 0.90

Tested by

no test coverage detected