This project is currently in alpha. Daily breaking changes are to be expected. You have been warned.

A special input used to select date times.

Property Type Description
id ?string A unique identifier.
label ?string The label of the date time input.
description ?string The description of the date time input.
description-class ?string The class to apply to the stepper container. [default="fieldset-label"]
icon ?string The icon on the left side of the input.
icon-right ?string The icon on the right side of the input.
inline bool If the label should be shown in inline style. [default=false]
My date
Date + Time
Hello from the description.
<c-datetime label="My date" wire:model="myDate" />

{{-- NOTE: `type="datetime-local"` --}}
<c-datetime type="datetime-local" label="Date + Time" description="Hello from the description."
    wire:model="myDate" />

{{-- NOTE: `type="time"` --}}
<c-datetime type="time" label="Time" wire:model="myDate" icon="calendar" inline />