SelectDateWidget doesn't display erroneous values
Reported by: |
anonymous |
Owned by: |
Claude Paroz <claude@…> |
Component:
|
Forms
|
Version:
|
dev
|
Severity:
|
Normal
|
Keywords:
|
|
Cc:
|
wiktor@…
|
Triage Stage:
|
Accepted
|
Has patch:
|
yes
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
If you enter an invalid date (ie. Feb. 30) the bound widget will render empty.
I don't know if it is intentional but since it is inconsistent with most other widgets I consider it a bug.
Change History
(9)
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
changed from nobody to marw85
|
Status: |
new → assigned
|
Needs tests: |
unset
|
Owner: |
marw85 removed
|
Status: |
assigned → new
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Owner: |
set to Claude Paroz <claude@…>
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Note that the same pattern is also used in
SelectDateWidget.value_from_datadict()
. This would need tests.