Inputs

Last updated: Wed, 08 Sep 2021 23:18

List

Texts

Numbers

Dates

Choices

Buttons

Others

Common options

Options available:

Name Type Default value Description
name string none Input name
label string/false none Input label
label_attributes array none List of label attributes
required boolean true Input is required
disabled boolean false Disabled input
readonly boolean false Input is readonly
helper string/false none Helper
attributes array none List of attributes
null_if_empty boolean false If empty value, it's casted to NULL
transformer TransformerInterface Depends of input type Convert format into another
validators ValidatorInterface[] Depends of input type Valid data from user form

Attributes

Some attributes are used by forms library to do validations or interactions. Refers to the input description.