blessed-components - v1.25.0
    Preparing search index...

    Interface StepperFormStep

    One step in a createStepperFormState flow.

    interface StepperFormStep {
        fields?: readonly string[];
        id: string;
        label: string;
        validate?: (values: FormValues) => string | FormErrors | undefined;
    }
    Index

    Properties

    fields?: readonly string[]

    Field ids validated when leaving this step.

    id: string

    Stable step identifier.

    label: string

    Human-readable step label.

    validate?: (values: FormValues) => string | FormErrors | undefined

    Optional step-level validation.