Cascade Filter Options #2195
Unanswered
Michael-Ban
asked this question in
Q&A
Replies: 1 comment
-
There's a Livewire Component filter, which is presently being updated to fix a bug with the filter pills behaviour that adds in smoother behaviour for this type of approach. There are other native approaches, but it depends on your number of records as to which approach is best |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Laravel Livewire tables, is there a built-in feature to filter filter options based on a selected filter?
For example, suppose I have an Animal table with two filter options: Animal and Breed.
The Animal filter includes options like Dog, Cat, Elephant, etc.
The Breed filter includes options like German Shepherd, Bulldog, Persian Cat, Siamese Cat, Tiger, etc.
If a user selects Dog in the Animal filter, is it possible to dynamically update the Breed filter to show only dog-related breeds (e.g., German Shepherd, Bulldog)? Similarly, selecting Cat would only display cat breeds in the Breed filter.
Is this functionality available by default in Livewire tables, or would it require a custom implementation?
Beta Was this translation helpful? Give feedback.
All reactions