This is the input's helper text.
<div class="ecl-form-group ecl-form-group--file-upload"><label class="ecl-form-label" for="file-upload-id">Label</label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div><input type="file" id="file-upload-id"
name="file-upload-name" class="ecl-file-upload" />
</div>
Try it yourself on the playground
PlaygroundDisabled
This is the input's helper text.
<div class="ecl-form-group ecl-form-group--file-upload"><label class="ecl-form-label ecl-form-label--disabled"
for="file-upload-id-2">Label</label>
<div class="ecl-help-block ecl-help-block--disabled">This is the input&#x27;s helper text.</div><input type="file"
id="file-upload-id-2" name="file-upload-name" class="ecl-file-upload" disabled="" />
</div>
Try it yourself on the playground
PlaygroundWith error
This is the input's helper text.
<div class="ecl-form-group ecl-form-group--file-upload"><label class="ecl-form-label ecl-form-label--invalid"
for="file-upload-id-3">Label</label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div>
<div class="ecl-feedback-message">This is the error message</div><input type="file" id="file-upload-id-3"
name="file-upload-name" class="ecl-file-upload ecl-file-upload--invalid" />
</div>
Try it yourself on the playground
PlaygroundRequired
This is the input's helper text.
<div class="ecl-form-group ecl-form-group--file-upload"><label class="ecl-form-label" for="file-upload-id-4">Label<span
class="ecl-form-label__required">*</span></label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div><input type="file" id="file-upload-id-4"
name="file-upload-name" class="ecl-file-upload" required="" />
</div>
Try it yourself on the playground
PlaygroundOptional
This is the input's helper text.
<div class="ecl-form-group ecl-form-group--file-upload"><label class="ecl-form-label" for="file-upload-id-5">Label<span
class="ecl-form-label__optional"> (optional)</span></label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div><input type="file" id="file-upload-id-5"
name="file-upload-name" class="ecl-file-upload" />
</div>
Try it yourself on the playground
Playground