MCPcopy
hub / github.com/final-form/react-final-form / addLazyFieldMetaState

Function addLazyFieldMetaState

src/getters.ts:47–71  ·  view source on GitHub ↗
(
  dest: Record<string, any>,
  state: FieldState<any>,
)

Source from the content-addressed store, hash-verified

45 ]);
46
47export const addLazyFieldMetaState = (
48 dest: Record<string, any>,
49 state: FieldState<any>,
50): void =>
51 addLazyState(dest, state, [
52 "active",
53 "data",
54 "dirty",
55 "dirtySinceLastSubmit",
56 "error",
57 "initial",
58 "invalid",
59 "length",
60 "modified",
61 "modifiedSinceLastSubmit",
62 "pristine",
63 "submitError",
64 "submitFailed",
65 "submitSucceeded",
66 "submitting",
67 "touched",
68 "valid",
69 "validating",
70 "visited",
71 ]);

Callers 1

useFieldFunction · 0.90

Calls 1

addLazyStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…