Skip to content

Interface: ResetOptions<Value> ​

Defined in: core/src/nodes/node-types.ts:143

Options of reset.

Type Parameters ​

Type Parameter
Value

Properties ​

PropertyModifierTypeDescriptionDefined in
keepDirtyValues?readonlybooleanKeep every value that differs from the initial value and reset only the rest. A changed list is kept whole, and a kept value stays dirty only while it differs from the new initial value.core/src/nodes/node-types.ts:153
keepErrors?readonlybooleanKeep server and asynchronous errors.core/src/nodes/node-types.ts:156
keepTouched?readonlyboolean-core/src/nodes/node-types.ts:154
value?readonlyDeepPartial<Value>A draft to use as the new initial value of the subtree, for example after a save. It may be partial; anything left out starts empty.core/src/nodes/node-types.ts:148

Released under the MIT License.