Mike Peters
Select->multiple() in SelectColumn?
This solution does need the following for the livewire component:
and I added a custom save action below the table as the user wants to save all changes together and not "live"
There you can then just do
$this->form->getState()
10 replies
Autopopulate SelectFilter by table values?
So imagine I have table with posts and I'd like to just add SelectFilter::make('category') and then Filament could just by itself find the values for category that are in the db right now and magically make the filter. Was wondering if that existed.
28 replies
Autopopulate SelectFilter by table values?
@toeknee yes but then I'm still running the query, wondering if the filter could auto populate with the values it finds in the DB (it already queries the db to get the values)
So if I name it x it automatically fetches the values for x by itself.
But given your answer I can imagine this doesn't exist yet.
28 replies
requiresConfirmation doesn't seem to work on form submit action
@Leandro Ferreira the trick was to not use ->submit('clearCache'), but instead use ->action(). So you were absolutely right 🙂 This combined with the lack of the <x-filament-actions::modals /> in the view together now made it work. Thanks for the help
9 replies
Rich Editor escaping its own HTML
Never mind @Alnuaimi and others: I found a global Laravel middleware messing with the payload and escaping characters like this.
I thought Filament had its own middlewares only, but apparently a base layer of middleware of Laravel is also applied.
Thanks for your help.
10 replies