Issues while updating to V4
I'm trying to update to V4 beta, but I'm running into some problems. I'm following https://filamentphp.com/docs/4.x/upgrade-guide
Problems so far:
1) Some styles aren't loading. I get no console errors. When I updated to Tailwind 4 (Despite not having custom css) no styles at all (Check images).
2) Table widget with a grouped query fails because filamentphp now adds order by primary_key on top of the order (And the primary key isn't in the group by)


16 Replies
Yeah I am facing the same issue
Did you run
php artisan filament:assets
? Are the assts throwing 404 (check network tab)?
2) Table widget with a grouped query fails because filamentphp now adds order by primary_key on top of the order (And the primary key isn't in the group by)Can you open an issue on GitHub for this?
After running this im back to my page missing some styles (had custom colors on tailwind.config.js, nothing else customized.


I will make a repo for the issue later this weekend
(Ignore the error 500, it's the broken widget)

Any published views?
only for a plugin

What's inside filament?
Oh wait, your own ones π
Are those any custom elements? Or all standard Filament?

Just a custom page, column and the dashboard (That i ended up leaving as it is
The column isn't related to any of the errors and the page actually works fine
I don't know then. Check the source code and see what styles are applied. Maybe that gives a hint.
I will try to comparing the classes applied to the login with the same page on a new install. Also will move some of the widgets to check if it works fine on a fresh install
Almost same HTML and same classes, so it seems to be some sort of css issue. I don't know what the issue can be tho.
Did you manage to resolve this? Same issue here.
same issue hmm
@Iron
Try adding:
to your theme.css, this fixed it here.
Thats actually what fixed it for us to π thanks