From 153e46a7f810627c46df1548e6324a31f1f5c6bc 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 --- 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