Roqueform
    Preparing search index...

    Interface ResetMixin

    The mixin added to fields by the resetPlugin.

    interface ResetMixin {
        isDirty: boolean;
        getDirtyFields(): never[];
        reset(): void;
        setInitialValue(value: never): void;
    }
    Index

    Properties

    isDirty: boolean

    true if the field value is different from its initial value.

    Methods

    • Reverts the field to its initial value.

      Returns void

    • Sets the initial value of the field and notifies ancestors and descendants.

      Parameters

      • value: never

        The initial value to set.

      Returns void