Fix your code, some is in code blocks some is not, hard to read.
Also after fix, copy and paste here properly formatted if you want.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
When i filter my data i get "No data available in table", but without filter, i can view my data.
Code: https://github.com/Thomasosho/Custom-Search-filter-table-laravel-
Full Repo: https://github.com/Thomasosho/laravel-filter-table-through.git
@tomasosho I figured out the issue. Everything is wired correctly... your data has extra spaces in it... connect to your SQLite database using TablesPlus or whatever you use... look at your states... ' Imo State' is trying to match 'Imo State'... when you remove the tabs in front of your data... your filters work fine.
Yep, this is 110% the problem. Your code works fine. This is a badly formed data issue.
Also, ALL of your factories have a tab in front of the ' Imo State' reference
Please or to participate in this conversation.