Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#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 Kashiwagi)

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 Mariusz Felisiak, 8 months ago

Easy pickings: unset
Has patch: unset
Resolution: wontfix
Status: newclosed

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 MultipleChoiceField subclass 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.

comment:2 by Kashiwagi, 8 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top