Select Filter with Group By from Column not Relationship
I would like to create a SelectFilter using a column in a table. It's not a relationship so I need to do a query and pluck the name but the options field only accept hardcoded arrays.
How do I query the fields inside options method?
2 Replies
I think this is what you are looking for https://filamentphp.com/docs/3.x/forms/fields/select#searching-options
Sorry, but what I mean is select for filter not form.