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

Function _updateDirtyFields

src/logic/createFormControl.ts:264–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 };
263
264 const _updateDirtyFields = () => {
265 _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);
266 };
267
268 const _setFieldArray: BatchFieldArrayUpdate = (
269 name,

Callers 2

_setFieldArrayFunction · 0.85
_setValueFunction · 0.85

Calls 1

getDirtyFieldsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…