Flarum (2.x)
    Preparing search index...

    Makes a field a picker: the member searches the way they would in the forum's search, and has to choose a real result, whose params are stored.

    interface DeckColumnSearch<T extends Model = any> {
        browse?: boolean;
        display?(result: T): Children;
        label(result: T): string;
        params(result: T): Record<string, string | number>;
        source(): GlobalSearchSource;
    }

    Type Parameters

    Index
    browse?: boolean

    List every result before anything is typed, for short lists such as tags.