Few questions about Filament
Hello,
I'm building a Laravel application.
I found out a best package which is Filament and trying to use this for my admin panel and it's working really well.
I have admin panel and Multi-tenancy panel for managing data, and I also need to build front pages for visitors to show the data.
Questions about project setup
- Is it better to have different application to show data for visitors with API? ( I don't think I want this )
- If its okay to build everything in the same project, would you use Filament + Livewire for Non admin panel pages? Or would you recommend to use different UI packages?
Questions about Filament
- I've been building the front pages for users, and already have some Filament + Livewire components. This is about Table component
Since I'm using Livewire, is there way to use redirection with wire:navigate when a row clicked? use Filament\Tables\Table; use Illuminate\Database\Eloquent\Model;
public function table(Table $table): Table { return $table ->recordUrl( fn (Model $record): string => route('posts.edit', ['record' => $record]), ); }
recordUrl is only option for redirection I found from DOCS
- Is it possible to save filters for the table? For example) I have city and category filters on the table component. But if I click a row to see detail, and get back to the page that has table component, I lose all selected filters.
Thank you,
Please or to participate in this conversation.