Skip to content

Add Support for Customizing the DatePicker's Minimum and Maxium Selectable Dates - #298

Merged
danheron merged 1 commit into
danheron:devfrom
wrakocy:wsr/min-max-picker-dates
Jan 7, 2026
Merged

danheron merged 1 commit into
danheron:devfrom
wrakocy:wsr/min-max-picker-dates

Conversation

@wrakocy

@wrakocy wrakocy commented Jan 7, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Added PickerMinDate and PickerMaxDate parameters to the main MudCalendar component
  • Forwarding new parameters to the underlying CalendarDatePicker
  • Added test component with backing bunit test to verify new functionality

Why

MudCalendar currently exposes a date picker for navigation, but currently does not allow consumers to constrain the selectable date range. This makes it difficult to prevent users from navigating to dates that are outside the valid bounds of the underlying data (e.g., historical limits, future scheduling restrictions, business rules).

Adding PickerMinDate and PickerMaxDate aligns MudCalendar's CalendarDatePicker more closely with the capabilities of MudDatePicker, avoids the need for custom wrappers or workarounds, and allows consumers to enforce valid date ranges declaratively.

Notes

  • No breaking changes
  • Screenshot of new test UI attached
2026-01-06 22_44_22-MudCalendar UnitTest Component Viewer — Mozilla Firefox

…ward to the underlying CalendarDatePicker. Includes test component and bunit test.
@danheron
danheron merged commit 6cdc12c into danheron:dev Jan 7, 2026
@danheron

danheron commented Jan 7, 2026

Copy link
Copy Markdown
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants