Body, Mind & Soul — API Reference
    Preparing search index...

    Function buildKeywordChipsHtml

    • Build HTML for a compact keyword chip multi-select widget. Selected keywords are shown as removable chips; a combobox below lets the user add more. The selected keys are stored as a JSON array in a hidden input.

      Parameters

      • selectedKeys: string[] = []

        Currently selected keyword keys

      • fieldName: string

        Name for the hidden JSON array input

      • OptionalchoicesMap: Record<string, string> = {}

        key→label map (used only to render initial chip labels)

      • Optionalopts: { style?: string } = {}
        • Optionalstyle?: string

          Extra inline style on the wrapper div

      Returns string

      HTML string