Opened 5 years ago

Closed 5 years ago

#11813 closed (duplicate)

Formset with select widget and extra fields won't validate

Reported by: Afief Owned by: nobody
Component: Forms Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Since a select field passes the first choice as it's default value(instead of None or ) a django formset with extra fields will interpret that form as partially filled and raise an error on any other required fields that aren't filled.

The workaround I'm currently using is to set initial=(first choice) for that field

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

dup of #11812 (submitted twice)

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.