+
+ | ariaLabel |
+
+ string
+ |
+ Specifies a string to be used as the name for the timeInput element when no `label` is provided. |
+
+ 'Text input'
+ |
+
+
+ | clearable |
+
+ boolean
+ |
+ If true, the input will have an action to clear the entered value. |
+
+ false
+ |
+
+
+ | defaultValue |
+
+ string
+ |
+ Initial value of the input, only when it is uncontrolled. |
+ - |
+
+
+ | disabled |
+
+ boolean
+ |
+ If true, the component will be disabled. |
+
+ false
+ |
+
+
+ | error |
+
+ string
+ |
+
+ If it is a defined value and also a truthy string, the component will change its appearance, showing the
+ error below the input component. If the defined value is an empty string, it will reserve a space below
+ the component for a future error, but it would not change its look. In case of being undefined or null,
+ both the appearance and the space for the error message would not be modified.
+ |
+ - |
+
+
+ | helperText |
+
+ string
+ |
+ Helper text to be placed above the input. |
+ - |
+
+
+ | label |
+
+ string
+ |
+ Text to be placed above the input. |
+ - |
+
+
+ | name |
+
+ string
+ |
+ Name attribute of the input element. |
+ - |
+
+
+ | onBlur |
+
+ {"(val: { value: string; error?: string }) => void"}
+ |
+
+ This function will be called when the input element loses the focus. An object including the input value
+ and the error (if the value entered is not valid) will be passed to this function. If there is no error,{" "}
+ error will not be defined.
+ |
+ - |
+
+
+ | onChange |
+
+ {"(value: string) => void"}
+ |
+
+ This function will be called when the user types within the input or selects a value in the dropdown
+ element of the component.
+ |
+ - |
+
+
+ | optional |
+
+ boolean
+ |
+
+ If true, the input will be optional, showing '(Optional)' next to the label. Otherwise, the field will be
+ considered required and an error will be passed as a parameter to the onBlur function when it
+ has not been filled.
+ |
+
+ false
+ |
+
+
+ | readOnly |
+
+ boolean
+ |
+
+ If true, the component will not be mutable, meaning the user can not edit the control. In addition, the
+ clear action will not be displayed even if the flag is set to true.
+ |
+
+ false
+ |
+
+
+ | ref |
+
+ {"React.Ref"}
+ |
+ Reference to the component. |
+ - |
+
+
+ | showSeconds |
+
+ boolean
+ |
+
+ If true, the component will display seconds and allow the user to input them. Otherwise, seconds will not
+ be shown and the user will not be able to input them.
+ |
+
+ false
+ |
+
+
+ | size |
+
+ 'small' | 'medium' | 'large' | 'fillParent'
+ |
+ Size of the component. |
+
+ 'medium'
+ |
+
+
+ | tabIndex |
+
+ number
+ |
+
+ Value of the tabindex attribute.
+ |
+
+ 0
+ |
+
+
+ | timeFormat |
+
+ '12' | '24'
+ |
+ Time format of the input. It can be either 12 or 24. |
+
+ '12'
+ |
+
+
+ | value |
+
+ string
+ |
+
+ Value of the input. If undefined, the component will be uncontrolled and the value will be managed
+ internally by the component.
+ |
+ - |
+
+
+