Managing Category and Subcat Relationships:Query String vs. Route Parameters for Passing cat_id?
Hello,
I'm very new to FilamentPHP and Livewire, and I'm trying to implement a category and subcategory architecture.
- Category A
-- Subcategory A1
-- Subcategory A2
- Category B
--Subcategory B1
--Subcategory B2
Previously, when using Backpack, I would use route parameters to pass the
category_id
for sub-category listing, creation, and editing:
admin/{category_id}/sub-category
admin/{category_id}/sub-category/create
admin/{category_id}/sub-category/{sub-category_id}/edit
However, with Filament, I couldn't find any resources to achieve this. I attempted to use the tableFilters
query string, but I encountered some issues. Please suggest a solution or share any documentation that can help me achieve this.
github discussion: https://github.com/filamentphp/filament/discussions/9343GitHub
Managing Category and Subcategory Relationships: Query String vs. R...
Hello, I'm very new to FilamentPHP and Livewire, and I'm trying to implement a category and subcategory architecture. Category A Subcategory A1 Subcategory A2 Category B Subcategory B1 Subc...
0 Replies