digipolisantwerp / antwerp-ui_angular

Antwerp UI is a component interface library for building user interfaces and responsive web apps.
https://digipolisantwerp.github.io/antwerp-ui_angular
MIT License
13 stars 19 forks source link

Datepicker: unable to select valid dates if they are in a different month than the current #272

Closed jsebrech closed 2 years ago

jsebrech commented 2 years ago

Describe the bug

In the datepicker, it is not possible to select valid dates from the next or previous month that are visible on the current page. This is a usability issue because it leads people to assume these dates are invalid, while they are valid.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://digipolisantwerp.github.io/antwerp-ui_angular/modules/forms/datepicker
  2. Click on the datepicker (current date: january 25)
  3. Try to select a date from the next month (february 1)
  4. Unable to select the valid date

Expected behavior

Valid dates should always be selectable if they are visible.

OS (please complete the following information):

jsebrech commented 2 years ago

fixed in 5.2.1 and 4.7.1