form
Information
- Folder
src/components/template-components/search-results/form
Files
Schema
$schema: http://json-schema.org/draft-07/schema
$id: /template-components/search-results/form
additionalProperties: false
type: object
required:
- action
- content
properties:
action:
type: string
content:
type: string
attributes:
type: string
Mocks
action: action
content:
$render:
- $tpl: template-components/search-results/form/input
$ref: template-components/search-results/form/input
- $tpl: elements/button
$ref: elements/button
label: Search
type: submit
icon: search
icon_only: true
Template
<form{{ attributes }} class="SearchResultsForm" action="{{ action }}">
{{ content }}
</form>
Variants