Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid switching months in datepicker #5968

Closed
daniloff200 opened this issue Oct 22, 2020 · 0 comments
Closed

Avoid switching months in datepicker #5968

daniloff200 opened this issue Oct 22, 2020 · 0 comments

Comments

@daniloff200
Copy link
Contributor

daniloff200 commented Oct 22, 2020

Is your feature request related to a problem? Please describe.
I have a datepicker in my project and there is must display 2 months when datepicker opened. So I have this property displayMonths: 2 in my bsConfig object. Datepicker display 2 months, a current month from the left side of datepicker, and the next month from the right side of datepicker, for example (current month October)

7JNDb

The user selects a date in November and datepicker switch November to the left side and shows December on the right side
SDVRs

Describe the solution you'd like

Logic which provided switch month just only when users click on the next and previous buttons in datepicker header.

Note: Took from stackoverflow as a feature request

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

No branches or pull requests

1 participant