Date Picker

March 2026
Mon
Tue
Wed
Thu
Fri
Sat
Sun

The selected date is submitted as an ISO value.

Attribute Type Documentation Default Value
field %FormField{}

a form field struct

id :string
selected :any
current_month :any
min :any
max :any
available_dates :list []
on_select :string "select-date"
on_prev_month :string "prev-month"
on_next_month :string "next-month"
target :any

optional LiveView target for date select/month events

name :string
label :string
description :string
errors :list []
class :any
disabled :boolean false
rest :global