The Time picker component allows you to select the time value. The field supports multiple time formats and required field validation.
The component also allows you to set the time zone for the Date and Time valuesπ
name
string
Component name
value
Date | number | string
Current component value
valid
boolean
Indicates if the component is valid
validating
Indicates if the component is validating
disabled
Indicates whether the component is disabled
setValue
value: Date |
number | string
void
Set component value
setDisabled
disabled: boolean
Disable or enable the component
reset
β
Reset component to the initial value
focus
Set focus on the component
validate
Trigger component validation
resetValidation
Clear validation errors
setErrors
errors: string |
string[] | null
Mark the component as invalid and display errors
setRequired
required: boolean
Set component required state
On Init
Triggered when the component is initialized
On Change
Triggered when the component's state changes
On Enter
Triggered when the Enter key is pressed
On Focus
Triggered when the component is in focus
On Blur
Triggered when the component loses focus
Last updated 3 months ago
Was this helpful?