Skip to content

Search

The search module is used to render a search bar on a page.

Configuration parameters

none

Module source code

{% from "@macros/search.twig" import search %}

{{ search({
    instaceId: moduleInstance,
}) }}

Macros reference

Webcomponents reference

Used styles

Module configuration schema

[
    {
        "state": "unfolded",
        "label": "General settings",
        "elements": [
            {
                "type": "infobox",
                "name": "infobox",
                "options": {
                    "type": "blank",
                    "message": "#### Related settings in the admin panel%s- changing phrases in [translations](%s)%s- the searching method and suggester view in [the search engine settings](%s)",
                    "placeholderValues": [
                        "\n",
                        "\/admin\/configLanguages\/list",
                        "\n",
                        "\/admin\/configSearch"
                    ]
                }
            }
        ]
    }
]