#29036: HTML5 required validation for SelectDateWidget doesn't work if the
attribute is added by JavaScript
--------------------------------+------------------------------------------
Reporter: Vlastimil Zíma | Owner: Vlastimil Zíma
Type: Bug | Status: assigned
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------------
Changes (by Vlastimil Zíma):
* has_patch: 0 => 1
Comment:
PR submitted https://github.com/django/django/pull/9632
Instead of changing the `date_re`, I kept the pseudo-ISO format with zeros
for the invalid dates. I consider it easier to debug in case an error
should occur.
--
Ticket URL: <https://code.djangoproject.com/ticket/29036#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.ac1b7c7a3af368f6807aeb200d9b514a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.