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
astronomicOP8mo ago
Please, does this happen to anyone else?
toeknee
toeknee8mo ago
Please provide your table code, filters should submit on select unless you set otherwise.
astronomic
astronomicOP7mo ago
Ok, thank you. I hadn't put the code because I haven't really done anything special, just added filters.
astronomic
astronomicOP7mo ago
Here my code
toeknee
toeknee7mo ago
If this in filament admin panel or outside? i.e. custom livewire
astronomic
astronomicOP7mo ago
No, this is a normal Filament resource. And we have only one panel, AdminPanelProvider
toeknee
toeknee7mo ago
run: npm run dev any better?
astronomic
astronomicOP7mo ago
I always do that, the problem persists
astronomic
astronomicOP7mo 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
astronomicOP7mo ago
please, anybody can help me?
LeandroFerreira
LeandroFerreira7mo ago
Filament version? Did you change some view?
astronomic
astronomicOP7mo ago
version 3, no, it's in a normal resource.
LeandroFerreira
LeandroFerreira7mo ago
are you using the latest version? Did you run composer update -W?
astronomic
astronomicOP7mo ago
Yes I do, the filament versión is 3.2
LeandroFerreira
LeandroFerreira7mo ago
php artisan about --only=Filament what is the filament version?
astronomic
astronomicOP7mo ago
oh, is v3.2.0
Solution
LeandroFerreira
LeandroFerreira7mo ago
you should add ^3.2 in the composer.json
astronomic
astronomicOP7mo 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

Did you find this page helpful?