From 40fb0ef55dbe5a85a1b298855651a35499d8d8e2 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 --- 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.30.2