Ye Thi Ha Htwe
Ye Thi Ha Htwe
FFilament
Created by Ye Thi Ha Htwe on 2/19/2025 in #❓┊help
Table action modal not showing up for some records
My existing table action is to open a modal accessing the existing values from each aggregated row through fn(Model $record) closure. While the action works with almost every row, I have encountered in at least 2 records where the table action triggers nothing rather than a loading indicator. Then I added another action for testing purposes: Action::make('test')->action(fn(Model $record) => dd($record)),. This also dd'ed most of the rows but failed for the same 2 rows. I tried getTableRecordKey(), querying with min(id) and max(id) but no luck. Raw SQL queries through mysql cli or phpMyAdmin returned id columns without a null value. max(id) and min(id) actually did returned an id value for these two items causing the error so far. By the way, I use Cloudflare for the website, and some existing discussions on the internet say it might be related to cloudflare's minify HTML feature. But I don't see this setting on Cloudflare and they say this setting is deprecated. Please guide me find the cause of this error.
2 replies
FFilament
Created by Jospeh on 11/29/2024 in #❓┊help
Filament v3 exporter xlsx
I had the same issue and fixed it by disabling the antivirus. 😀
16 replies
FFilament
Created by iqbalmahatmaputra on 7/15/2024 in #❓┊help
Infolist extraAttributes didn't work for tailwindcss
For your reference, Porvilas has created a video for this. https://www.youtube.com/watch?v=DrR6tfVYZsQ
16 replies
FFilament
Created by iqbalmahatmaputra on 7/15/2024 in #❓┊help
Infolist extraAttributes didn't work for tailwindcss
Yes it is. You're going to need to create a theme for that.
16 replies
FFilament
Created by iqbalmahatmaputra on 7/15/2024 in #❓┊help
Infolist extraAttributes didn't work for tailwindcss
Hi, for your styling attributes, you can just simply use:
TextEntry::make('course_name')
->size(TextEntry\TextEntrySize::Large)
->color('info')
->weight(FontWeight::Bold),
TextEntry::make('course_name')
->size(TextEntry\TextEntrySize::Large)
->color('info')
->weight(FontWeight::Bold),
https://filamentphp.com/docs/3.x/infolists/entries/text#customizing-the-text-size
16 replies
FFilament
Created by slamx_ on 7/14/2024 in #❓┊help
Get Resource Page Type
->label(fn($livewire) => $livewire instanceof CreateUser ? 'Specific' : 'Standard'),
->label(fn($livewire) => $livewire instanceof CreateUser ? 'Specific' : 'Standard'),
3 replies