Whether fields lists fields to keep rather than fields to reset.
Names of the fields to reset (fields to keep when exclude is set); null when not given.
Creates a reset-form action.
Optionalinit: { exclude?: boolean; fields?: string | string[] }
Optional initial values.
Optionalexclude?: booleanWhen true, the listed fields are kept and all other fields are reset.
Optionalfields?: string | string[]A field name or list of field names; omit to reset every field.
Executes the action. Unsupported types only log a warning.
Reset-form action: resets all form fields, the listed fields, or all fields except the listed ones.