#Issues while updating to V4

21 messages · Page 1 of 1 (latest)

twilit shore
#

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)
stark ingot
#

Yeah I am facing the same issue

vagrant ridge
#

Did you run php artisan filament:assets? Are the assts throwing 404 (check network tab)?

#
  1. 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?
twilit shore
twilit shore
twilit shore
vagrant ridge
#

Any published views?

twilit shore
#

only for a plugin

vagrant ridge
#

Oh wait, your own ones 🙈

#

Are those any custom elements? Or all standard Filament?

twilit shore
#

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

vagrant ridge
#

I don't know then. Check the source code and see what styles are applied. Maybe that gives a hint.

twilit shore
#

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

twilit shore
#

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.

elder grove
empty saffron
#

same issue hmm

elder grove
#

@empty saffron

Try adding:

@plugin "@tailwindcss/forms"; to your theme.css, this fixed it here.