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

Function setValue

src/logic/createFormControl.ts:947–948  ·  view source on GitHub ↗
(name, value, options = {})

Source from the content-addressed store, hash-verified

945 };
946
947 const setValue: UseFormSetValue<TFieldValues> = (name, value, options = {}) =>
948 _setValue(name, value, options, false);
949
950 const setValues: UseFormSetValues<TFieldValues> = (
951 formValues,

Callers 15

resetFieldFunction · 0.85
_resetFunction · 0.85
FormFunction · 0.85
Component2Function · 0.85
AppFunction · 0.85
ComponentFunction · 0.85
ComponentFunction · 0.85
handleAddInnerFunction · 0.85
FormFunction · 0.85
AppFunction · 0.85
ChildFunction · 0.85

Calls 1

_setValueFunction · 0.85

Tested by 15

FormFunction · 0.68
Component2Function · 0.68
AppFunction · 0.68
ComponentFunction · 0.68
ComponentFunction · 0.68
handleAddInnerFunction · 0.68
FormFunction · 0.68
AppFunction · 0.68
ChildFunction · 0.68
ComponentFunction · 0.68
AppFunction · 0.68
ComponentFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…