Forms
Time picker
A time field and the list of times that opens from it.
import { EcoTimePicker } from "vue-ecosphere"
Time field
Times are banded Morning and Afternoon. Type any time the list does not hold.
Your timezone, GMT+5:30.
Value: "09:30"
Empty
Value: ""
API
| Name | Type | Default | Description |
|---|---|---|---|
v-model | string | "" | 24-hour HH:mm. The field shows 09:30 AM and stays typeable. |
v-model:open | boolean | false | Whether the list is open. |
step | number | 30 | Minutes between options. |
start / end | string | "08:00" / "18:00" | First and last option, HH:mm. Offer the times people actually pick. |
hour12 | boolean | true | 09:30 AM rather than 09:30. |
label / required / hint / error / invalid / first / disabled / placeholder / id | — | — | Field props. Say the timezone in the hint. |
Keyboard | — | — | ArrowDown opens; arrows, Home and End move, Enter picks, Escape closes. |