Skip to content

feat: add multiMonth prop to display months as scrollable list #218#243

Open
yasaricli wants to merge 1 commit intofarhoudshapouran:mainfrom
yasaricli:main
Open

feat: add multiMonth prop to display months as scrollable list #218#243
yasaricli wants to merge 1 commit intofarhoudshapouran:mainfrom
yasaricli:main

Conversation

@yasaricli
Copy link
Copy Markdown

Adds a new multiMonth prop to DateTimePicker that renders all months between minDate and maxDate in a vertically scrollable list. This is ideal for range selection across multiple months, similar to booking or travel date pickers. #218

Changes

  • Added multiMonth boolean prop to DatePickerBaseProps
  • When multiMonth is enabled, months are derived from minDate and maxDate (falls back to current month + 12 months if not provided)
  • Added CHANGE_DATE_ONLY reducer action to prevent currentDate from being overridden when month prop is explicitly set — fixes incorrect date highlighting across months
  • Updated README with usage documentation and example
  • Added multi-month example screen to the example app
Ekran Resmi 2026-04-01 12 11 41

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.

1 participant