Ye Thi Ha Htwe
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
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
Infolist extraAttributes didn't work for tailwindcss
Hi, for your styling attributes, you can just simply use:
https://filamentphp.com/docs/3.x/infolists/entries/text#customizing-the-text-size
16 replies