I am trying to add custom filters to text fields using a form with ui.query. I have added “notEmpty” and “empty” or “isEmpty”. I tried various names for the “empty” filter, in case “empty” turned out to be a reserved word.
This snippet shows that when I apply the same filter formula to empty and notEmpty, only changing !== to ==, only notEmpty works.
In fact … I also discovered that I could pass my values to a separate function and created a separate snippet which does that. The second snippet uses console.log to report the values it receives. It turns out that no blank/empty/null values are even passed. It seems like they are pre-filtered.
Would somebody please take a look and advise me how I might correct this issue in a way that permits my users to filter for blank values in their datatables using the ui.query GUI with my form?