Form Time
Form time component.
Form Time, Customization Blocks
<x-time />
<x-time label="Time" hint="Select the hour" />
<x-time label="Readonly" value="10:00 AM" readonly /><x-time label="Disabled" value="10:00 AM" disabled />
#
Scroll & Drag
NEW
An option to change the time using the mouse scroll or drag.
<!--Scroll or drag over the sliders and over the numbers.Both respect the step and the min/max bounds.--> <x-time :step-minute="5" />
<!-- 12-hour format --><x-time /> <!-- 24-hour format --><x-time format="24" />
<!-- Hours --><x-time :min-hour="5" :max-hour="10" /> <!-- Minutes --><x-time :min-minute="30" :max-minute="45" />
An option to adjust the time to the current one without the possibility of clearing the input.
<x-time required />
An option to easily select the current time.
<x-time helper />
<x-time :step-hour="3" :step-minute="15" />
<x-time x-on:hour="alert(`Hour Selected: ${$event.detail.hour}`)" x-on:minute="alert(`Minute Selected: ${$event.detail.minute}`)" x-on:interval="alert(`Interval Changed: ${$event.detail.interval}`)"/>