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