- Issue created by @plopesc
- Status changed to Closed: duplicate
7 months ago 9:43am 21 June 2024
Using the datelist widget, when hour or AM/PM selectors are empty, the validation triggers and error indicating that filed must be set.
However, when leaving empty both hour and AM/PM and setting minutes to '00', validation thinks that all the fields are empty and passs validation.
This leads to a secondary effect, that is that missing closing hours are saved.
See recording: https://www.drupal.org/files/issues/2024-06-21/office-hours-bug.mp4 →
Check the linked recording.
Consider '00' as a non-empty value tro ensure that validation works as expected.
Closed: duplicate
1.0
Code - widget