backpex
backpex copied to clipboard
searchable: true + NULL value causes the record not to be displayed
Describe the bug
I have a nullable string field, with searchable: true
. When the field is null, it will not be displayed in the index even without touching the search field. When I remove searchable: true or insert an value, it will be displayed in the index table.
To Reproduce Steps to reproduce the behavior:
- Create a record with a nullable string field
- Set it to searchable
- Create a record and leave the field on NULL / nil
- Visit index page
- Record is not displayed
Expected behavior I would have expected to see the record on index page unless I start a search.
Please complete the following information:
- OS: MacOS
- Browser Arc
- Elixir Version 1.17.2
- Backpex Version 0.6.0