easy-forms
Form components

Date

ISO date selection with min/max bounds and date/month/year views.

Stores an ISO yyyy-mm-dd string, or null.

Preview
Live

Options

PropTypeDefaultDescription
minDatestring | ((values) => string)Earliest selectable date — a fixed ISO string or a function of the current values.
maxDatestring | ((values) => string)Latest selectable date — fixed or derived.
view'date' | 'month' | 'year''date'Granularity of selection.
placeholderstringPlaceholder text.

Dependent bounds

minDate / maxDate accept a function of the form values — perfect for "end date must be after start date". You can also drive them through a propsDependsOn rule. See Dynamic props.