Back
DatePicker
Basic
Pre-selected Date
Restricted Range
Usage
@forms.DatePicker(forms.DatePickerProps{
ID: "start",
Name: "start_date",
Label: "Start Date",
Value: "2026-04-01", // initial ISO date (YYYY-MM-DD)
Min: "2026-01-01", // optional lower bound
Max: "2026-12-31", // optional upper bound
})