- Issue created by @sassafrass
- πΊπΈUnited States sassafrass
In the file: webform_clientside_validation.ife.js, if I comment this code out, this works as expected.
/** * Fix date/time min, max, and step validation issues. * * @type {Drupal~behavior} * * @see https://github.com/jquery-validation/jquery-validation/pull/2119/commits */ /*Drupal.behaviors.webformClientSideValidationDateTimeFix = { attach: function (context) { $(context).find(':input[type="date"], :input[type="time"], :input[type="datetime"]') .removeAttr('step') .removeAttr('min') .removeAttr('max'); } };*/
- πΊπΈUnited States jrockowitz Brooklyn, NY
I think we had to disable the clientside validation for dates because of https://github.com/jquery-validation/jquery-validation/pull/2119.
It seems unlikely the issue will be fixed upstream.
You should use the patch AS-IS.
- Status changed to Closed: won't fix
9 months ago 10:16am 5 April 2024