#29488: FilteredSelectMultiple Controls Don't Work if The Name of the Widget
Has a
Space
-------------------------------------+-------------------------------------
Reporter: Mark Phillips | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 2.0
Severity: Normal | Resolution:
Keywords: | Triage Stage:
FilteredSelectMultiple widget | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Mark Phillips:
Old description:
> If the label for the FilteredSelectMultiple has a space in it, the
> controls for moving data between the boxes are not activated. The widget
> still works if one double clicks on the elements in the left box, they
> move to the right box. But the arrows don't work. Tested on Chrome
> 67.0.3396.62 (Official Build) (64-bit) and Firefox 60.0.1 (64-bit) using
> runserver to run my django code.
>
> Take a look at the attached image first.png. There are two
> FilteredSelectMultiple widgets, one called Pets and one called Pet Names.
> Note that in the widget Pet Names, the controls are not highlighted, but
> the controls in the Pets widget are highlighted.
>
> Take a look at the attached image second.png. The only change to the code
> was to change the Pet Names label to Pet_Names (ie replaced the space
> between Pet and Names with an underscore Pet Names -> Pet_Names). Now the
> controls are working.
New description:
If the label for the FilteredSelectMultiple has a space in it, the
controls for moving data between the boxes are not activated. The widget
still works if one double clicks on the elements in the left box, they
move to the right box. But the arrows don't work. Tested on Chrome
67.0.3396.62 (Official Build) (64-bit) and Firefox 60.0.1 (64-bit) using
runserver to run my django code.
Take a look at the attached image first.png. There are two
FilteredSelectMultiple widgets, one called Pets and one called Pet Names.
Note that in the widget Pet Names, the controls are not highlighted, but
the controls in the Pets widget are highlighted.
Take a look at the attached image second.png. The only change to the code
was to change the Pet Names label to Pet_Names (ie replaced the space
between Pet and Names with an underscore Pet Names -> Pet_Names). Now the
controls are working.
Mark
--
--
Ticket URL: <https://code.djangoproject.com/ticket/29488#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.94f52a05476439a128654afdd8a34a04%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.