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

    The FormModal component displays a modal dialog, wrapped in a form. Subclasses should implement the className, title, and content methods.

    Type Parameters

    Hierarchy (View Summary)

    Index
    chosen: Record<string, Mithril.Children> = {}

    What each search field shows for its choice.

    error: Children = null
    kept: Record<string, string | number> = {}

    A column being edited's settings from its search fields, until something else is picked.

    name: string = ''

    The name a column being edited is given; empty for the type's own title.

    picked: Record<string, DeckColumnConfig["params"] | null> = {}

    Params from search fields, by field key; null until something is picked.

    type: string | null = null
    typeFields: DeckColumnField[] = []

    The chosen type's fields, built once when it's chosen.

    values: Record<string, string> = {}