| Property | Description | Returns |
|---|---|---|
| type | Returns the type of the current element. | string |
| multiple | Returns whether multiple value is set. | bool |
| errors | Gets all violations (error messages) related to the element's current submission | array |
| errorMessage | Gets error message for the field. If there are several errors for the element, all of them will be added to this message. | string |
| errors | Returns whether element has at least one error | bool |
| name | string | |
| entity | string | |
| id | int | |
| help | Gets help text for the element. It could be used as a tooltip or in HTML as a title attribute, e.g. ' '. | string |
| editor | string | |
| text | Text for the element that usually is used for element's label | string |
| defaultValue | string | |
| placeholder | string | |
| required | bool | |
| regex | string | |
| position | int | |
| settings | array | |
| revision | FormRevision | |
| step | Step | |
| parent | ElementGroup |
Forms\Models\Api\InputFile
Entity for ` `.