Frontend | Backend | Api

Forms\Models\Api\InputDatetime

Entity for ` `. Base on mode value it could represent date, time or datetime value.

Property Description Returns
type Returns the type of the current element string
mode Returns specified mode -- date, time, dateTime -- based on settings. Validness and if required should have been checked on create\update operations. string
minDateValue Returns minimum date/time value set. string
maxDateValue Returns maximum date/time value set. string
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
submissions Collection (ElementSubmission)
parent ElementGroup