[Koha-bugs] [Bug 29478] flatpickr misses quick shortcut to "Today" date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 16 15:41:33 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29478

--- Comment #6 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Owen Leonard from comment #5)
> (In reply to Jonathan Druart from comment #2)
> 
> > Confirm that flatpickr instances now have a yesterday, today and
> > tomorrow buttons.
> 
> I thought of an issue when testing my follow-up: Should the shortcut
> controls reflect the date limitations of the flatpickr instance? For
> instance, if selection is limited to a date before today, should the "today"
> and "tomorrow" controls be disabled? Currently clicking a shortcut for a
> date which is disallowed will empty the date field.

Good point! Yes definitely, if not too hard to implement.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list