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.
Hi Jacob,
the date / datelist field does not validate when I set a min date and the form is submitted with this date selected.
If I select the days after, everything is well. This happens with or without the date picker and / or custom or standard date format.
Tested with the latest dev.
check_in:
'#type': date
'#title': Check-In
'#default_value': '+2 days'
'#title_display': before
'#required': true
'#min': '+2 days'
'#max': '+1 year'
'#date_date_format': d.m.Y
Is a bug or something in my settings?
Comment | File | Size | Author |
---|---|---|---|
#4 | 2932477-3.patch | 1.72 KB | jrockowitz |
| |||
#3 | webform.webform.issue_2932477.yml | 3.09 KB | jrockowitz |
#2 | webform.webform.issue_2932477.yml | 3.09 KB | jrockowitz |
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedAttached webform replicates the issue.
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedComment #5
SoYeah CreditAttribution: SoYeah commentedThe patch works as expected.
Thanks for the quick work.
Comment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented