featherbit UI
    Preparing search index...

    Interface FieldSchema

    Declarative description of a single config field rendered by SchemaForm.

    interface FieldSchema {
        addLabel?: string;
        default?: unknown;
        fields?: FieldSchema[];
        hint?: string;
        item?: { placeholder?: string; type: "number" | "text" };
        itemLabel?: string;
        key: string;
        label: string;
        options?: (string | FieldOption)[];
        placeholder?: string;
        rows?: number;
        switchLabel?: string;
        type: FieldType;
    }
    Index
    addLabel?: string

    Label for the "add item" button on list/objects fields.

    default?: unknown

    Initial value when the field is unset in the node config.

    fields?: FieldSchema[]

    Sub-fields of each record for objects fields.

    hint?: string

    Short helper text rendered under the control.

    item?: { placeholder?: string; type: "number" | "text" }

    Scalar item control for list fields.

    itemLabel?: string

    Singular noun used to title each objects row.

    key: string

    Property name in the node's config object.

    label: string

    Label shown next to the control.

    options?: (string | FieldOption)[]

    Choices for radio/select; plain strings double as value and label.

    placeholder?: string

    Placeholder text for text-like inputs.

    rows?: number

    Visible rows for textarea fields.

    switchLabel?: string

    Inline label rendered beside a switch control.

    type: FieldType

    Which control to render.