input--date
This component only contains an input of type date and no corresponding label. This component can therefore not be used on its own, but should always be used via form/form-element.
Information
- Folder
src/components/fsk/form/form-element/input/input--date
Files
Schema
Mocks
Template
// src/components/fsk/form/form-element/input/input--date/input--date.html.twig
<input{{ attributes ? attributes|without("id", "class", "type", "disabled", "required") : "" }}
{% if attributes.id %}id="{{ attributes.id }}"{% endif %}
class="FskInput {{ attributes.class }}"
type="date"
{% if attributes.disabled %} disabled{% endif %}
{% if attributes.required %} required{% endif %}
{% if "error" in attributes.class %} aria-invalid="true"{% endif %}
>{{ children }}