Modify the search value prior to searching?
I store money as integers in my database. I want the user to be able to search dollar amounts, but if the user searches 54.60, it's not finding anything because it would need to be 5460. How can I modify the search variable before the search is performed?
Solution:Jump to solution
You may customize how the search is applied to the Eloquent query using a callback:
```
use Filament\Tables\Columns\TextColumn;
use Illuminate\Database\Eloquent\Builder;
...
1 Reply
Solution
You may customize how the search is applied to the Eloquent query using a callback: