Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#9124 closed (fixed)

SelectDateWidget not usable with required=False

Reported by: Bernd Schlapsi Owned by: nobody
Component: Forms Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

At the moment it is not possible to use required=False with SelectDateWidget, because there are no "None"-Values for Day, Month and Year.
It would be great if there is a additional value for Day, Month and Year like "---", "None" or similar

Attachments (1)

selectdatewidget.diff (7.7 KB) - added by Bernd Schlapsi 8 years ago.
Patch to add the requested feature for selectdatewidget

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by Bernd Schlapsi

Attachment: selectdatewidget.diff added

Patch to add the requested feature for selectdatewidget

comment:1 Changed 8 years ago by Bernd

Has patch: set

comment:2 Changed 8 years ago by Bernd Schlapsi

I added this requested feature to the patch of #6231 too (filename: ticket_6231_v3.patch)

comment:3 Changed 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

comment:4 Changed 8 years ago by Jacob

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:5 Changed 8 years ago by Jacob

Triage Stage: AcceptedReady for checkin

comment:6 Changed 8 years ago by Jacob

Resolution: fixed
Status: newclosed

(In [10585]) [1.0.X] Fixed #9124: fixed SelectDateWidget with required=False. Thanks, Bernd Schlapsi. Backport of [10584] from trunk.

comment:7 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top