Margarita form reference documentation
    Preparing search index...

    Interface MargaritaFormState

    interface MargaritaFormState {
        active: boolean;
        allErrors: MargaritaFormStateAllErrors;
        children?: MargaritaFormStateChildren;
        control?: MFC<MFGF<FieldParams>>;
        dirty: boolean;
        disabled: boolean;
        editable: boolean;
        enabled: boolean;
        errors: MargaritaFormStateErrors;
        focus: boolean;
        focusWithin: boolean;
        hasValue?: boolean;
        hidden: boolean;
        inactive: boolean;
        invalid: boolean;
        parentIsActive?: boolean;
        pristine: boolean;
        readOnly: boolean;
        shouldShowError: undefined | boolean;
        submitOutput: unknown;
        submitResult: "error" | "not-submitted" | "form-invalid" | "success";
        submits: number;
        submitted: boolean;
        submitting: boolean;
        touched: boolean;
        untouched: boolean;
        valid: boolean;
        validated: boolean;
        validating: boolean;
        valueChanged: boolean;
        visible: boolean;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    active: boolean
    control?: MFC<MFGF<FieldParams>>
    dirty: boolean
    disabled: boolean
    editable: boolean
    enabled: boolean
    focus: boolean
    focusWithin: boolean
    hasValue?: boolean
    hidden: boolean
    inactive: boolean
    invalid: boolean
    parentIsActive?: boolean
    pristine: boolean
    readOnly: boolean
    shouldShowError: undefined | boolean
    submitOutput: unknown
    submitResult: "error" | "not-submitted" | "form-invalid" | "success"
    submits: number
    submitted: boolean
    submitting: boolean
    touched: boolean
    untouched: boolean
    valid: boolean
    validated: boolean
    validating: boolean
    valueChanged: boolean
    visible: boolean