The ui5-time-picker component provides an input field with assigned clocks which are opened on user action.
The ui5-time-picker allows users to select a localized time using touch, mouse, or keyboard input.
It consists of two parts: the time input field and the clocks.
When the user makes an entry and chooses the enter key, the clocks show the corresponding time (hours, minutes and seconds separately).
When the user directly triggers the clocks display, the actual time is displayed.
For the ui5-time-picker
Determines the name by which the component will be identified upon submission in an HTML form. Note: This property is only applicable within the context of an HTML Form element.
Defines a short hint, intended to aid the user with data entry when the component has no value. Note: When no placeholder is set, the format pattern is displayed as a placeholder. Passing an empty string as the value of this property will make the component appear empty - without placeholder or format pattern.
Defines the value state message that will be displayed as pop up under the ui5-time-picker. Note: If not specified, a default text (in the respective language) will be displayed. Note: The valueStateMessage would be displayed, when the ui5-time-picker is in Information, Critical or Negative value state.
Fired when the input operation has finished by clicking the "OK" button or when the text in the input field has changed and the focus leaves the input field.
Type
CustomEvent<TimePickerChangeEventDetail>
Parameters
value: string The submitted value. valid: boolean Indicator if the value is in correct format pattern and in valid range.