KarlisJ
Query only toggled/displayed columns
I think I can get it working with
$this->getTableColumnToggleFormStateSessionKey()
but the value is empty on first load. Sadly, getDefaultTableColumnToggleState
can't be used for fallback. Getting
Typed property App\Filament\Pages\ListRegistryEntries::$table must not be accessed before initialization
15 replies
Export to excel and pdf
https://www.google.com/search?q=filament+export+excel
first 2 search results are good export plugins followed with multiple articles/guides on the topic
7 replies
Interact with input state and events using Alpine
Nevermind my previous message. https://filamentphp.com/docs/3.x/forms/fields/custom#how-fields-work helped me correctly entangling the data.
PoC is ready, now I just need to figure out the small things
5 replies
Interact with input state and events using Alpine
Thanks for the pointer. I managed to get the communication between them. However, this
only set's it in frontend but Livewire isn't aware of it so when submitted, the previously set value will be sent to server.
I'm trying to work with
@entangle
but having some issues.
I've removed the name
prop from radio input name="{{ $id }}"
and used wire:model instead
This acts the same as previously, I can change the radio values and they are sent correctly to the server.
But now I fail to figure out how to update the value of radio input on the focus.
Given that my statepath in this example is data.radio
I hardcoded that
but I'm getting
5 replies
Open action modal from dropdown item
I'll have dropdown with multiple items. Each item will perform some task. And for some tasks, I need to gather additional input through form. As an example, I have Action
and I want to trigger that from dropdown item
15 replies
Open action modal from dropdown item
still don't understand what dropdown has to do with a modal? iIn this example, there's an "Delete" item in drowdown. When clicked, I want to open confirmation modal and upon confirm perform the delete operation. To me, that action sound like "Filament action" which is not the same what "action" means in Livewire.
15 replies