Skip to content

FormResetOptions

Defined in: FormApi/FormApi.public.ts:150

Controls whether reset replaces the form's default values when new values are supplied.

Properties

updateDefaultValues?

ts
optional updateDefaultValues?: boolean;

Defined in: FormApi/FormApi.public.ts:161

Whether the values supplied to reset also replace the form's defaultValues.

When false, the form preserves the existing defaults. isDefaultValue and later form.reset() calls use those existing defaultValues.

This option has no effect when reset values are omitted.

Default

ts
true