Flarum (v2.0.0)
    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

    Constructors

    Properties

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

    What each search field shows for its choice.

    error: Children = null
    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> = {}

    Methods