isIndividual column search removes table when no results
I have a TextColumn that I want to make searchable and set isIndividual to true:
Which works great. But when I search for a name that does not exist, the table is removed and the search field (see screenshots). Is it possible to just show an empty table instead of nuking the table when there are no search results?
This adds an annoying element of with using
isIndividual: true
, as you have to clear the added filter and retype the search every time you search for something that does not exist, instead of just changing your search input.![No description](https://cdn.answeroverflow.com/1266044395174494238/image.png)
![No description](https://cdn.answeroverflow.com/1266044395451453532/image.png)
![No description](https://cdn.answeroverflow.com/1266044395841519646/image.png)
Solution:Jump to solution
GitHub
isIndividual column search removes table when no results · Issue #1...
Package filament/filament Package Version v3.2.96 Laravel Version v11.7.0 Livewire Version v3.5.1 PHP Version PHP 8.2 Problem description I have a TextColumn that I want to make searchable and set ...
4 Replies
Sounds like a bug to me. Can you open an issue?
Sure, will do as soon as some time opens up for it. Is it necessary for me to include an mwe for this issue?
I think you can point to https://demo.filamentphp.com/shop/customers and notify me so I'll reopen it
Solution
I added the issue here:
https://github.com/filamentphp/filament/issues/13734
GitHub
isIndividual column search removes table when no results · Issue #1...
Package filament/filament Package Version v3.2.96 Laravel Version v11.7.0 Livewire Version v3.5.1 PHP Version PHP 8.2 Problem description I have a TextColumn that I want to make searchable and set ...