Property | Description | Returns |
---|---|---|
type | Returns the type of current element. | string |
children | Collection | |
entity | string | |
id | int | |
name | Gets element name. It could be used in html to identify input, e.g. ' '. | string |
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\StaticSubmitButton
Entity for code elements.