Files
wekan/client/components/forms/calendarTimeInput.jade
T
Lauri Ojansivu 236676ff53 Show a full-width calendar directly in date popups
Keep the selected calendar grid visible on opening and after selecting a day, including for Gregorian dates. Stack popup fields, size day buttons within their cells and show only hour/minute dropdowns while retaining the hidden combined value for existing save handlers. Update documentation and popup regressions.

Thanks to xet7 !
2026-09-12 21:01:41 +03:00

11 lines
462 B
Plaintext

template(name="calendarTimeInput")
.calendar-time-input
input.js-calendar-native-time(type="hidden" id=inputId name=inputName class=fieldClass value=nativeTime)
select.js-calendar-hour(aria-label="{{_ 'hours'}}")
each hours
option(value=value selected=selected) {{value}}
span(aria-hidden="true") :
select.js-calendar-minute(aria-label="{{_ 'minutes'}}")
each minutes
option(value=value selected=selected) {{value}}