Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14996 closed (duplicate)

Incorrect persistent help_text for ModelMultipleChoiceField if widget is overridden in Modelform class Meta:

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

Description

For example, I have the following:

class SomeAdminModelForm(forms.ModelForm):
    class Meta:
        widgets = {
            'm2m_field': forms.CheckboxSelectMultiple(),
        }

... which alters the m2m field multiple select to a series of checkboxes.

Which is fine, except the help_text is still appended with 'Hold down "Control", or "Command" on a Mac, to select more than one.'

... which is obviously not necessary in this context.

Change History (2)

comment:1 Changed 6 years ago by Ramiro Morales

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

Duplicate of #14402 which report another facet of this problem.

comment:2 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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