Time Attribute

How to use in JSON metadata in form builder:
{
"id": "time",
"is_standard": true,
"editable": true,
"readonly": true,
"display_order": 4,
"icon": "clock",
"icon_color": "primary.500",
"label": "Time field",
"input_type": "TIME",
"placeholder_text": "HH:mm",
"time_format": "HH:mm",
"initial_value": " ",
"validation_rules": {}
}
Properties of time attribute:
| # | Attribute | Default | Description |
|---|---|---|---|
| 1 | id | time | Base attribute which specifies "text" input field. |
| 2 | is_standard | true | No need to change (by default: TRUE) |
| 3 | editable | true | Allows user to edit the input field |
| 4 | readonly | true | Sets Preview to Read-Only |
| 5 | display_order | 1 | Allows user to define the order of the fields |
| 6 | icon | clock | Helps to add icon to the field eg: iconName from vector icon |
| 7 | icon_color | primary.500 | It changes the color of the icon |
| 8 | label | Date field | Used to specify the label of the field |
| 9 | input_type | DATE | Base attribute which specifies input types no need to change |
| 10 | placeholder_text | HH:mm | Placeholder temporarily takes the place of the final data |
| 11 | time_format | HH:mm | Time Format Defines the format of date eg: HH:mm / hh:mm A |
| 12 | initial_value | " " | It defines the initial value in the input field |