Opened 13 years ago

Closed 7 years ago

#11941 closed Bug (duplicate)

FilteredMultipleSelect does not render help text

Reported by: techieone Owned by: nobody
Component: Forms Version: 1.1
Severity: Normal Keywords:
Cc: Germano Gabbianelli Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


The FilteredMultipleSelect in the admin widgets suite can be imported and used in other forms. However, it does not render any helptext whether that helptext was defined on the model field or the form field.

Attachments (1)

patch.diff (1.1 KB) - added by Germano Gabbianelli 12 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by Russell Keith-Magee

Triage Stage: UnreviewedAccepted

comment:2 Changed 12 years ago by Germano Gabbianelli

The help text is not displayed because SelectFilter2.js removes all paragraphs that "get in the way".

        // Remove <p class="info">, because it just gets in the way.
        var ps = from_box.parentNode.getElementsByTagName('p');
        for (var i=0; i<ps.length; i++) {

I think the problem may be solved by reinserting these <p> after the widget has been created.
I made a patch for the js that works for me, but the paragraphs are displayed at the right of the widget and not at the bottom as I think they should.
Unfortunately I am not able to fix the css ...

Here's a screenshot,

Changed 12 years ago by Germano Gabbianelli

Attachment: patch.diff added

comment:3 Changed 12 years ago by Germano Gabbianelli

Has patch: set

comment:4 Changed 12 years ago by Germano Gabbianelli

Cc: Germano Gabbianelli added

comment:5 Changed 11 years ago by Julien Phalip

Severity: Normal
Type: Bug

comment:6 Changed 11 years ago by patchhammer

Easy pickings: unset
Patch needs improvement: set

patch.diff fails to apply cleanly on to trunk

comment:7 Changed 10 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:8 Changed 7 years ago by Tim Graham

Resolution: duplicate
Status: newclosed

Duplicate of #6183 -- fixed in Django 1.3.

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