F
Filamentβ€’15mo ago
jester_si

Table Builder filters, searchable(), sortable() don't work with table LiveWire component

When I use the Table Builder outside of Filament panel and try to make a LiveWire component I get the data but all other functionalities don't work. Here is the code: https://gist.github.com/igormihacic/b340a0a3c7235890cf8cdec5c6e9be0d of the LiveWire component class. I know I'm missing something but don't know what.
Gist
InventoryInquiryTable.php
GitHub Gist: instantly share code, notes, and snippets.
17 Replies
toeknee
toekneeβ€’15mo ago
Inspect the console what is it saying in there
jester_si
jester_siOPβ€’15mo ago
No description
toeknee
toekneeβ€’15mo ago
There is your issue You don't have livewire installed correctly on the frontend.
jester_si
jester_siOPβ€’15mo ago
Yep I see it .. will take a look there tnx
jester_si
jester_siOPβ€’15mo ago
Now it works. I had Alpine imported 2 times. Most likely this was the problem. But I'm still getting the spinning wheels on the filter always visible ..
No description
alexanderkroneis
alexanderkroneisβ€’15mo ago
I've got the same problem. My filters / grouping are showing non effects.
alexanderkroneis
alexanderkroneisβ€’15mo ago
e.g.
No description
jester_si
jester_siOPβ€’15mo ago
Does the filter work. My is working now .. just the spining wheel is anoying ..
ModestasV
ModestasVβ€’15mo ago
Update to newest Filament version. That was a bug in there (I reported it) and it was fixed a day or so later πŸ™‚
jester_si
jester_siOPβ€’15mo ago
I've updated to v3.0.53 of filament and I LiveWire v3.0.5 and I'm still getting the spinning wheel in the filter and also if I have the filter selected in the status bar like this: @.modestasv
No description
ModestasV
ModestasVβ€’15mo ago
Hm, this might then be another bug that needs to be reported in filament github page πŸ™‚
jester_si
jester_siOPβ€’15mo ago
let me check if this happens also in the test project where I have just one table set up ..
jester_si
jester_siOPβ€’15mo ago
on the test table works fine ...
No description
jester_si
jester_siOPβ€’15mo ago
on the test page the browser Console is clear on the project page I have this:
No description
ModestasV
ModestasVβ€’15mo ago
Hm, then in that case, you need to specifically debug why this happens on your project. Here's a few ideas: - Incorrect usage of something (I know, very broad πŸ˜„ ) - There's a name conflict of some sort (maybe there's a reserved word/attribute used anywhere from Livewire) - There's a data difference (maybe there's a broken row or something)
jester_si
jester_siOPβ€’15mo ago
Not very good at debuging JS related stuff but I will try my best ... πŸ˜›
ModestasV
ModestasVβ€’15mo ago
Yeah, it is really not the easiest thing to do πŸ˜„
Want results from more Discord servers?
Add your server