Preventing "No records found" state
I have a table with 12 columns that are each individually searchable. When the user keys in a search that returns no records, the UI flips to display the "No records found" state, which removes all of the column filters and requires the user to click on the "Clear column search" action. I would prefer to keep the table display standard and return no rows while maintaining the column headers if possible. Is that something that can be controlled with a Filament option, or would it require a custom extension of the existing table logic?
4 Replies
I'm not completely sure but I think it would require a modification of the table's
index.blade.php
viewThanks, Patrick. I was hoping there would be a way to do it natively but if there isn't, I can look into extending the base component.
If you have several filters going simultaneously and mistype in one field, you have to clear everything and start over, which isn't optimal.
Feel free to submit a pr?
For sure. It would be awesome to contribute to this amazing project. I'll submit once I get things working. Thanks.