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 full)

Indexable

  • [key: string]: any

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