#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: contrib.admin | 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
-------------------------------------+-------------------------------------
Changes (by Mark Phillips):
* status: closed => new
* resolution: worksforme =>
Comment:
I have attached a test django application (testFSM) that shows the
behavior I am seeing. It was tested using Django 2.0.5 and Python 3.4.3 in
a virtualenv on Ubuntu 14.04.
To recap:
If a field has a space in the field name for a ModelMultipleChoiceField
(ie fields are generated in the __init__ function of a ModelForm), then
the controls for the associated FilteredSelectMultiple widget are not
enabled. One can still double click on an element in the widget, but the
controls don't work. Also, one cannot clear the selected items or deselect
the items in the list.
Please see the README in the attached django project.
Mark
--
Ticket URL: <https://code.djangoproject.com/ticket/29488#comment:13>
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.4dca77c94ca819727e312d5697f4916f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.