Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dbern's avatar
Level 1

Filament SelectColumn - make options searchable

Hi everybody!

I'm using a resource in filament 3.1 and I'm currently building the Table (List) for this resource. In this table I have a Select column to allow editing this field directly in the list. So far so good.

The thing is, I need to make the options searchable, but the searchable method on SelectColumn is used to make the column a searchable field when searching the table, and not the options like in a Form.

My use case: As an administrator, I want to assign a declaration to an employee directly from the list of declarations.

Is there a way to do it without going the custom component way?

Thanks :)

0 likes
2 replies
krekas's avatar

Where this list comes from? You set options yourself using the options() method

dbern's avatar
Level 1

The list comes from the database, and the options are from another related table. For a performance standpoint, I don't want to load all the records of the related table at once to offer a dropdown, hence the need for a search field in the select.

I opted for a TextColumn with an action. When clicked, it opens a modal with a searchable Select that queries only upon searching, with a limit of 20 results. Not ideal UX wise, but close enough until a better solution can be put in place.

Please or to participate in this conversation.