Opened 7 years ago

Closed 6 years ago

Last modified 4 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 7 years ago.
Patch to add the requested feature for selectdatewidget

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by Bernd Schlapsi

Patch to add the requested feature for selectdatewidget

comment:1 Changed 7 years ago by Bernd

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by Bernd Schlapsi

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

comment:3 Changed 6 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:4 Changed 6 years ago by jacob

  • milestone set to 1.1
  • Triage Stage changed from Unreviewed to Accepted

comment:5 Changed 6 years ago by jacob

  • Triage Stage changed from Accepted to Ready for checkin

comment:6 Changed 6 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:7 Changed 4 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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