Simple searchable field causing Alpine warning + table.js error?

I have a fresh Filament v3 project with a model & resource. The resource has a single TextColumn field marked as searchable(). Whenever I perform a search in the search box I receive a warning + 2 errors in the console.
Alpine Expression Error: this.$root is undefined
Expression: "const recordsOnPage = getRecordsOnPage()
...

Uncaught TypeError: this.$root is undefined
getRecordsOnPage http://filament-v3.test/js/filament/tables/components/table.js?v=3.1.35.0:1
...
Uncaught (in promise) TypeError: this.$root is undefined
getRecordsOnPage http://filament-v3.test/js/filament/tables/components/table.js?v=3.1.35.0:1
...
Alpine Expression Error: this.$root is undefined
Expression: "const recordsOnPage = getRecordsOnPage()
...

Uncaught TypeError: this.$root is undefined
getRecordsOnPage http://filament-v3.test/js/filament/tables/components/table.js?v=3.1.35.0:1
...
Uncaught (in promise) TypeError: this.$root is undefined
getRecordsOnPage http://filament-v3.test/js/filament/tables/components/table.js?v=3.1.35.0:1
...
It seems strange to be getting an error on such a simple setup. The search appears to be working correctly, but every time the search text is modified the console spews out warnings and errors? Any help would be greatly appreciated. I'm hoping it's just something simple I'm overlooking.
2 Replies
alxndre
alxndre11mo ago
Did you manage to find out? I'm having the same issue with our project right now. Tried with a fresh project and it's the same. Seems to br related to the checkbox as it spits a 'getElementByClassName' checkbox undefined.
awcodes
awcodes11mo ago
GitHub
Demo Repo Errors in Console? · Issue #10185 · filamentphp/filament
Package filament/tables Package Version Demo Version Laravel Version Demo Version Livewire Version No response PHP Version Demo PHP Version Problem description I have searched in the repo and canno...
Want results from more Discord servers?
Add your server