modlinltd/django-advanced-filters

Text field drop-down menu not compatible

alprnyldz opened this issue · 2 comments

Describe the bug
The first filter has drop down menu even if the type of the field is text, causing the value to disappear when:
Adding another filter or saving without a title
Changing page the filter

To Reproduce
Steps to reproduce the behavior:

  1. Add new advanced filter
  2. Choose a text field to filter and enter a value
  3. Add another filter

Expected behavior
Text should not disappear

Details (please complete the following information):

  • OS: MacOS 11.0.1
  • Python version 3.8
  • Django version 2.2.17
  • django-advanced-filters version 1.2.0
  • Browser Safari & Firefox

Thanks for submitting the detailed video describing the issue

I think I just hit the same bug - here's a GIF of it:

filter-bug