Time
The Time time
component handles timestamps value, it accepts time values in hh:mm:ss or hh:mm format
(i.e., "22:14:49"), the value returned by this component is always in the format hh:mm:ss.
Example
{
"component": "time",
"label": "Time field",
"name": "my_time",
"react-rsuite5": {
"format": "HH:mm:ss"
}
}
Loading...
Reference
Property | Type | Description |
---|---|---|
component | string | = "time" |
name | string | The name of the field and the key of the JSON |
label | string | i18n | Label of the field |
hint | string | i18n | Help text for the field (generally shown below the input box) |
placeholder | string | i18n | Placeholder text, visibile when the field is empty |
disabled | boolean | Disables and greys out the field |
readOnly | boolean | Put the field in read only mode |
hidden | boolean | Hides the field from the form |
Pick up a framework to show specific properties |