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

Datepicker months placeholder is not changing if max attribute is defined #445

Closed
BerSteve opened this issue Jan 6, 2022 · 1 comment
Closed
Assignees
Labels
🐛 bug Something isn't working

Comments

@BerSteve
Copy link

BerSteve commented Jan 6, 2022

Detailed description

When max attribute is added to component, only current month name is displayed (month placeholder) and month name is always the same when navigating with arrows (calendar changes but not the month placeholder) and only one month option is available. Without max attribute everything works as expected.

What did you expect to happen? What happened instead? What would you like to see changed?
Show all month options and update month placeholder when navigating

What browser are you working in?
Chrome Version 96.0.4664.110

Steps to reproduce the issue

Reproduced by adding max attribute. Checked v4 - v8 lib versions

Additional information

Kapture 2022-01-06 at 03 41 49

@BerSteve BerSteve added the 🐛 bug Something isn't working label Jan 6, 2022
@hirsch88 hirsch88 self-assigned this Jan 20, 2022
hirsch88 added a commit that referenced this issue Jan 25, 2022
Replace custom date functions with date-fns
Disable next or previous if out of range

Refs: #445
@hirsch88
Copy link
Member

@BerSteve Thanks for reporting this issue. Bug is fixed in version 9.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants