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

--- Comment #3 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193933
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193933&action=edit
Bug 33886: Add DateInputStyle system preference for split date inputs

Adds a new 'DateInputStyle' system preference (single|split) in the
I18N/L10N section that controls how date input fields are presented
across the entire interface.

In 'split' mode, date fields are replaced by three auto-advancing
text inputs (Day, Month, Year — ordered by the dateformat preference)
plus an optional calendar button that opens the flatpickr picker on
demand. This gives users the best of all worlds: accessible separate
fields for those who prefer them, plus the familiar calendar picker
for those who want it.

The implementation lives entirely in calendar.inc (both staff and
OPAC), so no per-template HTML changes are needed. The apply_flatpickr()
function routes eligible fields to apply_split_date_widget() when
split mode is active; time, datetime, and booking period fields are
excluded. A validateSplitDateInputs() utility function handles form
validation for any split widget on the page.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to