Opened 13 years ago

Closed 13 years ago

Last modified 13 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: no UI/UX: no

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 by Ramiro Morales, 13 years ago

Resolution: duplicate
Status: newclosed

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

comment:2 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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