Your cart is empty!
File
Displays a composite field to upload files.
type
-
(string) Must be equals to file.
label
-
(string) The label to display next to the field.
help
-
(string) An optional text to describe the purpose of the field.
required
-
(bool) Whether the field is mandatory or optional.
id
-
(string) An optional field ID.
class
-
(string) An optional field class suffix.
disabled
-
(bool) Whether the file upload is allowed or not.
style
-
(string) An optional style attribute for the field.
data
-
(string) A string of data- concatenated attributes.
hidden
-
(bool) True to avoid displaying the label of the field.
[
'gallery' => [
'type' => 'file',
'label' => 'Upload',
]
]
Changelog
Version | Description |
---|---|
1.3 | Introduced. |
Last Update: 2023-12-19
Helpful?