Forums › Forums › Search & Filter Pro › Blank options appear in search filter
- This topic has 17 replies, 3 voices, and was last updated 2 years, 1 month ago by
Trevor.
-
Trevor(Private) January 6, 2021 at 3:47 pm #271790
You could use this filter:
https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object
To check which options have blanks (is it for labels or values, or both) and remove them from the array, but that can also sometimes go wrong. It would also slow things down a bit.
I am thinking jQuery might work, but you would need to code that yourself.
Anonymous(Private) January 6, 2021 at 5:37 pm #271809Ugh, we try to make things as easy as possible for our clients and we really need to avoid them having to manually add/remove items each time. If we wanted to do this via the Filter Input Object or via jQuery, any insight as to how to try and accomplish it?
Anonymous(Private) January 7, 2021 at 2:31 pm #271931Ross,
I just checked those two news article links and they seem to be working fine for me. Not sure why you were seeing a 404 error on those, but that shouldn’t have been the case.
What steps do we need to take you write the code to hide the blank options?
-
AuthorPosts