[A11y] validate dates only server-side for better error message support (#5073)

This commit is contained in:
Richard Schreiber
2025-05-07 12:03:46 +02:00
committed by GitHub
parent 3e05463486
commit c487373340

View File

@@ -60,6 +60,7 @@ var form_handlers = function (el) {
locale: $("body").attr("data-datetimelocale"), locale: $("body").attr("data-datetimelocale"),
useCurrent: false, useCurrent: false,
showClear: !$(this).prop("required"), showClear: !$(this).prop("required"),
keepInvalid: true,
icons: { icons: {
time: 'fa fa-clock-o', time: 'fa fa-clock-o',
date: 'fa fa-calendar', date: 'fa fa-calendar',