From bfd31debb52197e9ab1ad667d4782088647d67dd Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 24 May 2023 15:13:12 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc index 9e7a67520d..867498fae0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc @@ -54,6 +54,7 @@ flatpickr.setDefaults({ dateFormat: "Y-m-d", altInput: true, + allowInput: true, altFormat: flatpickr_dateformat_string, altInputClass: 'flatpickr-input', nextArrow: '', -- 2.39.5