Datepicker allows navigation past max date on intial render


Topic: Datepicker allows navigation past max date on intial render

UNNdev pro premium priority asked 3 years ago

Expected behavior

You cannot navigate to a date past the one defined as max using the arrow buttons.

Actual behavior

Open the inline Datepicker from the example which has today's date set as max and click on the right arrow to navigate to the next month. The picker allows this, albeit all dates being disabled.Now navigate back to a date earlier than the max and then try to navigate to a date later than max again. This time, you can't get past the month of the max date.

If you close the picker and open it again, you have the same problem.

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/standard/kayem79/3138052


Dawid Wajszczuk staff answered 3 years ago

Hi,

Thanks for reporting this. I have added this to our TODO list.

Keep coding,
Dawid


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.8.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes