Can I define an extra searchable column without creating a column in the table?
So I want a column to be searchable but I defined the column in the description method.
How to make the value
isbn
also searchable?Solution:Jump to solution
You can set array param in searchable like :
```php
TextColumn::make('book.name')
->label('Book')
//......
3 Replies
https://filamentphp.com/docs/3.x/tables/columns/getting-started#searching
Scroll down a bit and you'll see other options like db column or closure
Solution
You can set array param in searchable like :
How did I missed that? 🤦♂️
Thank you, @Vp @yebor974. It works!