mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
After Clear emptied a refused range, WebKit kept a half-edited date segment in the From field and fired `invalid` on it at the next submit - though its validity read valid - so the form never submitted and the new range never applied, with no message (card-date-range.e2e.js in WebKit, also on retry: 0 submit events, `invalid` on .js-card-date-from). The old Clear handler emptied the fields the same way, so this was there before. Both range forms are novalidate now. The submit handler already decides whether a range is valid (rangeRefused), marks the end date invalid with the reason and says it in the form, so nothing is lost. filterDateRangeRefusal.test.cjs pins novalidate on both forms. Against a rebuilt bundle card-date-range and card-movement-filter pass twice each in WebKit, Firefox and Chromium. Thanks to xet7 !