Enode — API Reference
    Preparing search index...

    The optional 1RM field of the Name step — present only for an exercise that takes one. The form owns the text and its reading; this is what the row renders.

    type NameStepRm1Entry = {
        bodyweight: boolean;
        invalid: boolean;
        label: string;
        max: string | null;
        onChange: (value: string) => void;
        unit: string | null;
        value: string;
    }
    Index

    Properties

    bodyweight: boolean

    Body-weight equipment: the field takes the delta to the user's body weight and is led by a "BW" chip.

    invalid: boolean

    The text was rejected on Create (not a number above 0 and in range).

    label: string

    "1RM", or "PB" for a weightlifting exercise.

    max: string | null

    The largest value that is taken, formatted with its unit; null: unknown.

    onChange: (value: string) => void
    unit: string | null

    Unit symbol shown after the field.

    value: string

    The field text, in the user's unit.