#29221: No space added before admin-autocomplete CSS class
-----------------------------------------+------------------------
               Reporter:  citxx          |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  2.0
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  1
                  UI/UX:  1              |
-----------------------------------------+------------------------
 When Django adds `admin-autocomplete` CSS class to the select widget, it
 doesn't add a space before resulting in two concatenated CSS class names.

 One of the consequences: autocomplete doesn't work if initial class
 attribute wasn't empty.

 The operation is performed
 
here:[https://github.com/django/django/blob/e17088a108e604cad23b000a83189fdd02a8a2f9/django/contrib/admin/widgets.py#L416]

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29221>
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/048.3bd7e60621a7d622ec205a76d47c1ff5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to