Form Elements (Custom)
Form File
Nest
<input class="form-file-input" type="file">
insideform-file
to create a variety of custom file inputs. The element with theform-file
class should wrap whatever element you want to trigger the operating system's file browser.
Form File needs custom javascript to change the input value to the file selected.
Simple File Upload
Browse
Custom Control Primary
Add
custom-control-primary
to acustom-control
to increase the visual hierarchy (makes text bold) of acustom-control
? See https://github.com/liferay/clay/issues/2813