Opened 17 years ago

Last modified 17 years ago

#5407 closed

raw_id ForeignKey field behaves like a ManyToManyField — at Initial Version

Reported by: jkocherhans Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Using the raw_id popup when the field is already populated results in each selected if being added with a comma. As a hint, this has to do with the field having a vRawIdAdminField class, which RelatedObjectLookup.js hooks on to. We should probably have 2 separate widgets, one for ForeignKey fields, and one for {{{ManyToManyField}}s. Currently, they use the same raw_id widget.

Change History (0)

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