form-schema-runtime - v1.0.0
    Preparing search index...

    Interface FormStateSnapshot

    Immutable snapshot passed to form event hooks.

    interface FormStateSnapshot {
        dirtyFields: string[];
        errors: FieldErrors;
        isValid: boolean;
        touchedFields: string[];
        values: FormValues;
        visibleFields: string[];
    }
    Index

    Properties

    dirtyFields: string[]

    Field names whose current value differs from the initial value.

    errors: FieldErrors

    Current validation errors keyed by field name.

    isValid: boolean

    Whether the current visible form state has no validation errors.

    touchedFields: string[]

    Field names blurred by the user.

    values: FormValues

    Current form values keyed by field name.

    visibleFields: string[]

    Field names currently visible after evaluating conditions.