F
Filamentβ€’4mo ago
Branpg

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)
No description
No description
16 Replies
Hasan Tahseen
Hasan Tahseenβ€’4mo ago
Yeah I am facing the same issue
Dennis Koch
Dennis Kochβ€’4mo ago
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?
Branpg
BranpgOPβ€’4mo ago
After running this im back to my page missing some styles (had custom colors on tailwind.config.js, nothing else customized.
No description
No description
Branpg
BranpgOPβ€’4mo ago
I will make a repo for the issue later this weekend
Branpg
BranpgOPβ€’4mo ago
(Ignore the error 500, it's the broken widget)
No description
Dennis Koch
Dennis Kochβ€’4mo ago
Any published views?
Branpg
BranpgOPβ€’4mo ago
only for a plugin
No description
Dennis Koch
Dennis Kochβ€’4mo ago
What's inside filament? Oh wait, your own ones πŸ™ˆ Are those any custom elements? Or all standard Filament?
Branpg
BranpgOPβ€’4mo ago
No description
Branpg
BranpgOPβ€’4mo ago
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
Dennis Koch
Dennis Kochβ€’4mo ago
I don't know then. Check the source code and see what styles are applied. Maybe that gives a hint.
Branpg
BranpgOPβ€’4mo ago
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.
Lederp
Lederpβ€’2mo ago
Did you manage to resolve this? Same issue here.
Iron
Ironβ€’2mo ago
same issue hmm
Lederp
Lederpβ€’2mo ago
@Iron Try adding:
@plugin "@tailwindcss/forms";
@plugin "@tailwindcss/forms";
to your theme.css, this fixed it here.
Iron
Ironβ€’2mo ago
Thats actually what fixed it for us to πŸ˜› thanks

Did you find this page helpful?