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
Bagus A
Bagus A4mo ago
Sorry, but what I mean is select for filter not form.