Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the "clientside_validation_html5" is enabled and the min or max field is filled in in the number component the validation message mentions the "step" parameter even though it is left empty.
The step parameter should be considered as "any" if left empty.
Comment | File | Size | Author |
---|---|---|---|
#3 | clientside_validation_webform_2747555_3.patch | 1.62 KB | schwindel |
Comments
Comment #2
geertvd CreditAttribution: geertvd at Geert van Dort commentedComment #3
schwindel CreditAttribution: schwindel commentedAs I see it, your patch does not take into account $element['#webform_component']['extra']['integer']. In which case the step parameter should be set to '1' and not to 'any'. See my patch for a proposition.