#33989: filter_horizontal and filter_vertical giving "This field is required" 
error
even when objects are selected on Django 4.1 admin
-------------------------------------+-------------------------------------
               Reporter:  harshivvp  |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  4.1
  Uncategorized                      |       Keywords:  django-admin,
               Severity:  Normal     |  filter-horizontal, filter-vertical
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Django Admin after updating to Django 4.1 causes **This field is
 required.** error message when saving object after adding any
 ManyToManyField relation by using filter_horizontal and filter_vertical
 options. Problem does not persist when I do not use the horizontal and
 vertical filters and during addition of objects through Django shell.
 Happens only via the admin page. I downgraded the Django to 4.0.6 and
 tried replicating, it works fine there.

 Looks like if I tried to save object on Django 4.1 without reloading CSS
 from 4.0.6, it still worked.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33989>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018317645416-034a6afc-cf27-4d58-a800-0244c7ad1757-000000%40eu-central-1.amazonses.com.

Reply via email to