Bug 30718 took away the ability to direct enter dates with flatpickr ( allowInput ) Some libraries find that problematic and would like patrons to be able to directly type in a date. Example: self registration. We should give that option back.
Created attachment 151638 [details] [review] Bug 33821: Allow direct input of dates on the OPAC To test: 1. Apply patch 2. Go to OPAC self registration and try to manually enter the date for date of birth. 3. You can do so sucessfully
Created attachment 151646 [details] [review] Bug 33821: Allow direct input of dates on the OPAC To test: 1. Apply patch 2. Go to OPAC self registration and try to manually enter the date for date of birth. 3. You can do so sucessfully Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
This worked perfectly. I was able to create a patron by manually entering a birthdate and by using the flatpickr calendar. When entering the dob manually it worked with the formats of 02/14/2023, 02-14-2023 and 02142023. While the flatpickr calendar works great for selecting dates in the staff interface, it is not patron-friendly for the purpose of entering birthdates in the self-registration form. Here is our experience as early adopters of 22.11: All of our patrons self-register for their library cards. We tasked some patrons to register for a new library card using the self-registration form. They did not find the flatpickr datepicker to be intuitive or simple for the purpose of quickly entering their birthdates. They did not understand why they couldn't type in the box and then their first reaction was to use the arrows to either cycle backward through the months or years (which would take a very long time for someone born in 1933) They didn't understand the concept of directly typing their birthyear in the flatpickr year box first, then selecting their month in order to get to the correct calendar for them to select their specific date of birth. That lead to frustration and once things didn't seem to be working for them they got frustrated and the self-reg form timed out on them which led to a negative customer experience. So I think that it is imperative that users be able to manually enter the birthdates. Additionally, it was possible to do so in 22.05 so this is a loss of functionality for our library.
*** Bug 32522 has been marked as a duplicate of this bug. ***
This is actually an accessibility issue too, as you don't want to use the widget with a screen reader. Updating severity.
Created attachment 151788 [details] [review] Bug 33821: Allow direct input of dates on the OPAC To test: 1. Apply patch 2. Go to OPAC self registration and try to manually enter the date for date of birth. 3. You can do so sucessfully Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x