DateTime - phuocle/Dataverse-Dialog-Builder GitHub Wiki

Dialog UI

datetime

Draggable

Properties

datetime_properties

# Name Required? Type Description
1 Type DateTime Dataverse Dialog Builder DateTime control
2 Logical Name x string The logical name of the control
3 Label string The text you want to display
4 DateTime Type x string Supported 3 types
  • Date Time
  • Date
  • Time
5 Required boolean show or hide required field
6 Disabled boolean lock or unlock control
7 Visible boolean show or hide control

Note

  • When using the DateTime Type equal to Time, ensure that you use the setValue function from formContext with the default Date value for the control. If not, the control will render the correct value initially, but when the user selects a value, it will automatically clear.
⚠️ **GitHub.com Fallback** ⚠️