I can't use searchable, sortable or bulk actions in a clean installation

I don't know if it has happened to anyone: I have a clean installation of filament, I have only created a model and a resource, I have just put some fields in my form and my table so the installation is practically clean. When I try to use the searchable and sortable functions, the page is reloaded and put like an almost black layer on top of the search, you can barely see the table with the searched item below. If I refresh the page with F5, then it shows me what I wanted to filter without this layer, but at first it doesn't work. Has this happened to anyone? I also have noticed that when I try to filter, in the background I see “bulk actions” and this disappear when i refresh the page. Bulks actions also gives me the same error if I use them (black screen) for example to delete several users, and they doesn't work at all. I attach an image of what happend when I try to filter something. (I already updated my livewire and filament. I'm using Laravel 10). Thanks a lot in advance
No description
Solution:
I have solved it, I leave here the solution in case someone needs it. Thanks to this thread: https://www.answeroverflow.com/m/1323048980388642817 In my composer.json file, my filament version looked like this: “filament/filament”: “3.2”. I changed it to “filament/filament”: “^3.2”, and did composer upgrade (I noticed that some commands like php artisan filament:optimize were not recognized, and that had to be some problem with the installation) That solved everything...
Does anyone know how to fix this error "ERROR Command "filament:opt...
php artisan filament:optimize ERROR Command "filament:optimize" is not defined. Did you mean one of these? ⇂ filament:assets ⇂ filament:check-translations ⇂ filament:install ⇂ filament:upgrade
Jump to solution
1 Reply
Solution
Irissu
Irissu4w ago
I have solved it, I leave here the solution in case someone needs it. Thanks to this thread: https://www.answeroverflow.com/m/1323048980388642817 In my composer.json file, my filament version looked like this: “filament/filament”: “3.2”. I changed it to “filament/filament”: “^3.2”, and did composer upgrade (I noticed that some commands like php artisan filament:optimize were not recognized, and that had to be some problem with the installation) That solved everything
Does anyone know how to fix this error "ERROR Command "filament:opt...
php artisan filament:optimize ERROR Command "filament:optimize" is not defined. Did you mean one of these? ⇂ filament:assets ⇂ filament:check-translations ⇂ filament:install ⇂ filament:upgrade

Did you find this page helpful?