SelectFilter by 2 level relationship
I want to make a SelectFilter by country in a table where I show vehicles.
The data model is as follows:
Vehicle
My current code is as follows, the filter shows it but the changes are not applied:
Thanks
The data model is as follows:
Vehicle
- id
- name
- place_id
- id
- name
- country_id
- id
- code
- name
My current code is as follows, the filter shows it but the changes are not applied:
Thanks
Solution
https://v2.filamentphp.com/tricks/use-selectfilter-on-distant-relationships
Can you check this article
Can you check this article
Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.