Description
What version of Unfold are you using?
0.57.0
What version of Django are you using?
4.2
What browser are you using?
Edge 136.0.3240.92
Did you checked changelog/commit history, if the bug is not already fixed?
Yes
Did you searched other issues, if the bug is not already fixed?
Yes
Did you checked documentation?
Yes
Are you able to replicate the bug in the demo site?
No, As demo site using Django 5 while I am using Django 4.2
Repository with reproduced bug
https://github.com/omarraafat14/miran-search-api
Describe your issue
The AutocompleteSelectMultipleFilter
from unfold.contrib.filters
throws an "Enter a list of values" error when used with Django 4.2, while it works correctly with Django 5.x.
Steps to reproduce:
- Set up Django 4.2 project with Unfold
- Create a model with ManyToManyField relationships
- Configure admin with AutocompleteSelectMultipleFilter
- Try to use the filter in admin interface
Expected behavior:
The autocomplete filter should work as documented, allowing multiple selection of related objects.
Actual behavior:
Error message "Enter a list of values" appears when trying to use the filter.
Additional context:
- The same code works perfectly with Django 5.x
- Regular Django autocomplete fields work fine in Django 4.2
- Only the Unfold AutocompleteSelectMultipleFilter is affected
- AutocompleteSelectFilter (single selection) may have the same issue