- Issue created by @alexortega_98
- Status changed to Needs review
about 1 year ago 10:27am 2 October 2023 - last update
about 1 year ago 535 pass - 🇺🇸United States jrockowitz Brooklyn, NY
The attached webform replicates the issue and attached patch fixes the issue.
I would like to determine what is setting the
$element['time']['#error_no_message']
- 🇺🇸United States jrockowitz Brooklyn, NY
The
$element['time']['#error_no_message'] = TRUE;
is coming from Drupal core via the DateTime element@see https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...
#2839076: Datetime error message can be unclear depending on the time of day →
🐛 DateList and date range inline form errors are repeated Needs workI do not seeing any proposed solution.
- 🇮🇳India kasli_harshit
HI @jrockowitz , i followed the steps mentioned in the issue and tried to replicate the issue using the webform yml mentioned in (#2) however when i tried to submit the from with date which is out of the interval i can see the error msg regarding the rounding off date field. Adding the screenshot for the same .
Can you please mention if there is a special edge case or am I missing something to reproduce this issue ?
I am working with webform 6.2.x-dev and D9.5.8 for the same. - 🇺🇸United States jrockowitz Brooklyn, NY
You probably need to have the clientside_validation.module enabled with the inline_form_error.module.
- last update
about 1 year ago 536 pass - @jrockowitz opened merge request.
- 🇺🇸United States jrockowitz Brooklyn, NY
The MR includes a full work-around. If all the tests pass, this can be merged.
- Status changed to Fixed
about 1 year ago 11:28am 9 October 2023 - last update
about 1 year ago 536 pass -
jrockowitz →
committed 5cac2b45 on 6.2.x
Issue #3371639 by jrockowitz: The form won't submit if the user enters a...
-
jrockowitz →
committed 5cac2b45 on 6.2.x
Automatically closed - issue fixed for 2 weeks with no activity.