Flarum (v2.0.0)
    Preparing search index...
    interface IGroupSelectorAttrs {
        "aria-label"?: string;
        exclude?: string[];
        groups?: Group[];
        multiple?: boolean;
        onchange: (value: any) => void;
        placeholder?: string;
        value: string | string[];
        [property: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [property: string]: any

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

    Index

    Properties

    "aria-label"?: string

    Describes the selector to assistive technology.

    exclude?: string[]

    Ids of groups to leave out, e.g. [Group.GUEST_ID].

    groups?: Group[]

    The groups to offer. Defaults to every group in the store, i.e. those the actor can see.

    multiple?: boolean

    Allow selecting several groups; value and onchange then use arrays of ids.

    onchange: (value: any) => void
    placeholder?: string

    Shown until a group is chosen.

    value: string | string[]

    The selected group id, or ids with multiple.