Italian (Italy)

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.
Ultimo aggiornamento: 2023-12-19
Utile?