django-advanced-filters
django-advanced-filters copied to clipboard
hiding value for boolean/null comparators
A little bit of a hack here, but does successfully hide the "value" input element when istrue, isfalse, and isnull operators are chosen. Since it technically populates the value of the element and then hides it, there will be a small annoyance if you switch it back to a field that requires input (you would see the value we stuck in there, i.e. - True/False). However, this seems less annoying than having to type "null" in the box when creating these fields.