]> git.koha-community.org Git - koha.git/commit
Bug 32111: Remove disabled from date input for curbside pickup
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Nov 2022 12:30:24 +0000 (13:30 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Nov 2022 13:02:22 +0000 (10:02 -0300)
commit74bef99916e5f1662f147d7115d759e44a0df7d4
tree7023f2e5d95301b40865d232369b1a624ca13f9c
parent6fcd9ec2c3e12e4de8913fe36e32ae6221ee902a
Bug 32111: Remove disabled from date input for curbside pickup

The date input is always disabled and it's not possible to select or enter a date.

git bisect blames "Bug 30718: Apply flatpickr changes to OPAC" and "altInput: true"

I don't really know what's happening here, but it's impossible to
interact with the date widget if the input is disabled when it's
initialized.

The solution I have here is to play with hide/show instead of disabled.

Other suggestions welcome.

Test plan:
Schedule a curbside pickup from the OPAC and confirm that the date input
is working as expected.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt