Date input
The date input collects a calendar date and returns a Y-m-d string. Create one with
DateInput::make().
DateInput::make('birthday', 'Birthday') ->max('2026-01-01')- autoFocus:false
- columnWidth:"md"
- conditions:null
- dependsOnAny:false
- dependsOnKeys:null
- disabled:false
- editablePrefill:false
- helperText:null
- hidden:false
- label:"Birthday"
- max:"2026-01-01"
- min:null
- name:"birthday"
- prefillRefreshOn:null
- prefillResetOn:null
- readOnly:false
- required:false
- tabIndex:null
- tooltip:null
- value:null
Minimum and maximum
Section titled “Minimum and maximum”->min() and ->max() bound the selectable range. Pass an ISO Y-m-d date string. They constrain
the picker in the browser; pair them with date validation rules to enforce the range on the server.
DateInput::make('starts_at', 'Start date') ->min('2026-01-01') ->max('2026-12-31') ->rules(['date', 'after_or_equal:2026-01-01']);Common options
Section titled “Common options”DateInput shares label, default value, required, disabled, read-only, and visibility options with
every field — see Fields. For validation and conditional behavior, see
Validation and Conditional fields.