input
The styling for the file upload button is done via elements/button.
Information
- Folder
src/components/elements/file-upload/input
Files
Schema
Mocks
Template
// src/components/elements/file-upload/input/input.twig
<input{{ attributes }}
{% if id %}id="{{ id }}"{% endif %}
{% if name %}name="{{ name }}"{% endif %}
class="FileUploadInput {{ classes|join(" ") }}"
type="file"
{% if disabled %} disabled{% endif %}
{% if required %} required{% endif %}
{% if invalid %} aria-invalid="true"{% endif %}
{% if value %}value="{{ value }}"{% endif %}
>