logofirst
logofirst

DateTime

DateTime adds date and time selection

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the element that you want to label
only string Comma-separated list of parts to display (date, time)
[min] string Minimum datetime value
[max] string Maximum datetime value
[required] boolean false Whether datetime is required or not
[requiredMessage] string Message to show if validation fails
[perRegion] boolean Use this tag to label regions instead of the whole object

Example

<View>
  <Text name="txt" value="$text" />
  <DateTime name="datetime" toName="txt" only="date" />
</View>