Forms / Time picker

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

NameTypeDefaultDescription
v-modelstring""24-hour HH:mm. The field shows 09:30 AM and stays typeable.
v-model:openbooleanfalseWhether the list is open.
stepnumber30Minutes between options.
start / endstring"08:00" / "18:00"First and last option, HH:mm. Offer the times people actually pick.
hour12booleantrue09: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.