Skip to content

Feature: options.singleCalendar#2382

Open
eoghanmurray wants to merge 1 commit intodangrossman:masterfrom
eoghanmurray:singleCalendar
Open

Feature: options.singleCalendar#2382
eoghanmurray wants to merge 1 commit intodangrossman:masterfrom
eoghanmurray:singleCalendar

Conversation

@eoghanmurray
Copy link
Copy Markdown

I noticed #1883 after implementing this.

Unlike that one, this PR maintains ability to have a start and end time selection.

It just renders the 'right' calendar instead of both; this is so that the end of the range is always in view (which made more sense for my usecase).

Also unlike #1883, this one handles updateMonthsInView.

@Wernfried
Copy link
Copy Markdown

I also added this feature in my fork https://github.com/Wernfried/daterangepicker

You can set it with parameter singleMonthView: true

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