input--password
This component only contains an input of type password 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--password
Files
Schema
Mocks
Template
// src/components/fsk/form/form-element/input/input--password/input--password.html.twig
<input{{ attributes ? attributes|without("id", "class", "type", "disabled", "required") : "" }}
{% if attributes.id %}id="{{ attributes.id }}"{% endif %}
class="FskInput {{ attributes.class }}"
type="password"
{% if attributes.disabled %} disabled{% endif %}
{% if attributes.required %} required{% endif %}
{% if "error" in attributes.class %} aria-invalid="true"{% endif %}
>{{ children }}