Opened 9 years ago

Closed 5 years ago

#6405 closed New feature (duplicate)

ComboField/MultiValueField with FileField and passing initial data trough

Reported by: Øyvind Saltvik <oyvind@…> Owned by: nobody
Component: Forms Version: master
Severity: Normal Keywords: pass initial trough newforms multivaluefield
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Opening new ticket for this issue first mentioned in #6302

Was thinking about FileField with deletion field and that would be done easily with a MultiValueField.

But this would not be possible since FileFields need to use initial data during validation.

Attachments (2)

combofield_multivaluefield_pass_initial_trough.diff (9.2 KB) - added by Øyvind Saltvik <oyvind@…> 9 years ago.
a new approach using isinstance and a mixin
combofield_multivaluefield_pass_initial_trough.2.diff (9.3 KB) - added by Benjamin Wohlwend 8 years ago.
Synced patch to trunk (other patch was in the wrong direction, sorry)

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Øyvind Saltvik <oyvind@…>

a new approach using isinstance and a mixin

comment:1 Changed 9 years ago by Jacob

Triage Stage: UnreviewedDesign decision needed

Changed 8 years ago by Benjamin Wohlwend

Synced patch to trunk (other patch was in the wrong direction, sorry)

comment:2 Changed 6 years ago by Julien Phalip

Type: New feature

comment:3 Changed 6 years ago by Julien Phalip

Severity: Normal

comment:4 Changed 5 years ago by Carl Meyer

Easy pickings: unset
Resolution: duplicate
Status: newclosed
UI/UX: unset

Closing as duplicate of #14039, which has a fuller description of the problem and a more up to date patch.

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