Flarum (2.x)
    Preparing search index...
    interface ModelInputAttrs {
        candidate?: { connection: object; name: string } | null;
        connection: string | null;
        defaultModel?: string | null;
        id: string;
        lists: ModelLists;
        maxlength?: number;
        oninput: (value: string) => void;
        placeholder?: string;
        value: string;
        [property: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [property: string]: any

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

    Index
    candidate?: { connection: object; name: string } | null

    A connection that isn't saved yet, whose models are listed under connection. Listed once the field is focused, not as its settings are typed in.

    connection: string | null

    The connection whose models to offer, or null to offer none.

    defaultModel?: string | null

    The model used when the field is empty, which is checked too.

    id: string
    lists: ModelLists
    maxlength?: number
    oninput: (value: string) => void
    placeholder?: string
    value: string