Flarum (v1.8.10)
    Preparing search index...

    Valid options for the setting component builder to generate a Select dropdown.

    interface SelectSettingComponentOptions {
        className?: string;
        default: string;
        help?: Children;
        label?: Children;
        options: { [value: string]: Children };
        setting: string;
        type: "select" | "dropdown" | "selectdropdown";
        [property: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [property: string]: any

      Any other virtual element properties, including attributes and event handlers.

    Index

    Properties

    className?: string

    The class name(s) for this virtual element, as a space-separated list.

    default: string
    help?: Children
    label?: Children
    options: { [value: string]: Children }

    Map of values to their labels

    setting: string
    type: "select" | "dropdown" | "selectdropdown"