| Property | Description | Returns |
|---|---|---|
| type | Returns the type of the current element. | string |
| minValue | float | |
| maxValue | float | |
| stepValue | Returns step setting value. Returns null if setting is not set, step set to 0 or less or setting is set incorrect Returns always float (event if it's an int) value for number inputs. | float |
| 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\InputRange
Entity for saving two values as a range: from and to. Class needs to save two values, so it is not ` ` input.