#34836 closed New feature (wontfix)
Add an optional argument to MultipleChoiceField to ignore invalid choices.
| Reported by: | Kashiwagi | Owned by: | nobody |
|---|---|---|---|
| Component: | Forms | Version: | 4.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
I want to ignore invalid choices without displaying an error.
The same goes for ModelMultipleChoiceField.
PR (created without accepted ticket)
https://github.com/django/django/pull/17255
Change History (2)
comment:1 by , 2 years ago
| Easy pickings: | unset |
|---|---|
| Has patch: | unset |
| Resolution: | → wontfix |
| Status: | new → closed |
comment:2 by , 2 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
Thanks for this ticket, however, it doesn't sound like common practice and something that needs to be a part of Django itself. You can always implement a
MultipleChoiceFieldsubclass in your code.You can start a discussion on the Django Forum, if you don't agree, where you'll reach a wider audience, and follow the triaging guidelines with regards to wontfix tickets.