Filters in table builder, don't search instantly, only if you click outside

Hello everyone, I have an issue where none of the filters search when selecting or typing in the field; they only search if I click somewhere else. Does anyone know why this happens? If I click outside the filter it works, but this error appears in the console: livewire.js?id=07f22875:1123 Alpine Expression Error: Cannot read properties of undefined (reading 'getElementsByClassName')
Solution:
you should add ^3.2 in the composer.json
Jump to solution
18 Replies
astronomic
astronomicOP6mo ago
Please, does this happen to anyone else?
toeknee
toeknee6mo ago
Please provide your table code, filters should submit on select unless you set otherwise.
astronomic
astronomicOP6mo ago
Ok, thank you. I hadn't put the code because I haven't really done anything special, just added filters.
astronomic
astronomicOP6mo ago
Here my code
toeknee
toeknee6mo ago
If this in filament admin panel or outside? i.e. custom livewire
astronomic
astronomicOP6mo ago
No, this is a normal Filament resource. And we have only one panel, AdminPanelProvider
toeknee
toeknee6mo ago
run: npm run dev any better?
astronomic
astronomicOP6mo ago
I always do that, the problem persists
astronomic
astronomicOP6mo ago
I add a recording so that it is better understood. I choose Americana, and the filter does nothing, only when I click outside of the select
astronomic
astronomicOP6mo ago
please, anybody can help me?
LeandroFerreira
LeandroFerreira6mo ago
Filament version? Did you change some view?
astronomic
astronomicOP6mo ago
version 3, no, it's in a normal resource.
LeandroFerreira
LeandroFerreira6mo ago
are you using the latest version? Did you run composer update -W?
astronomic
astronomicOP6mo ago
Yes I do, the filament versión is 3.2
LeandroFerreira
LeandroFerreira6mo ago
php artisan about --only=Filament what is the filament version?
astronomic
astronomicOP6mo ago
oh, is v3.2.0
Solution
LeandroFerreira
LeandroFerreira6mo ago
you should add ^3.2 in the composer.json
astronomic
astronomicOP6mo ago
Omgsh, It finally works, but I don't understand why version 3.2.0 was installed, I recently created this project. Thank you so much Leandro
Want results from more Discord servers?
Add your server