Appearance
FormTimePicker
Hours and minutes in 12 or 24 hour display, the value is always HH:MM.
ts
import { FormTimePicker } from '@zairakai/vue-components/Form'Usage
vue
<FormTimePicker />Props
| Name | Type | Default | Description |
|---|---|---|---|
id | string | ||
class | string | ||
modelValue | string | undefined | "HH:MM" in 24 hours, always, whatever the display. |
hours | number | 24 | 12 or 24 hour display. |
minuteStep | number | 1 | |
label | string | ||
name | string | ||
form | string | ||
disabled | boolean | false | |
hourLabel | string | 'Hours' | |
minuteLabel | string | 'Minutes' | |
periodLabel | string | 'AM or PM' |
Events
| Name | Description |
|---|---|
update:modelValue |
See Theming for the class hooks and the data-* state of the components.