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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bfd31debb5)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Lucas Gass 2023-05-24 15:13:12 +00:00 committed by Matt Blenkinsop
parent 7afc89e816
commit 14739be193

View file

@ -54,6 +54,7 @@
flatpickr.setDefaults({
dateFormat: "Y-m-d",
altInput: true,
allowInput: true,
altFormat: flatpickr_dateformat_string,
altInputClass: 'flatpickr-input',
nextArrow: '<i class="fa fa-fw fa-arrow-right" aria-hidden="true"></i>',