Using Blade Tabs to filter `getFooterWidgets()`
Situation
- I have bunch of widgets that get generated.
- added filter tabs across the top with the blade component
- the tabs switching changes the data, but doesn't show the correct ones
See attached video for what I mean
9 Replies
blade file
I did try adding tabs with the getTabs method but couldn't get that to show up
Goal
- I am looking for any guidance in the right direction on this
- I want to have a page with tabs across the top
- and have multiple tables (not use the tableGroup on one table)
Could be I am approaching this whole thing wrong 🤔
Any insight much appreciated 🙌
Any console errors? The prefix is those 3 chars?
yea the prefix is just a string with 3 characters
and there is no console errors when the page loads, or when the tabs are clicked
one thing i did notice is that the correct # of tables gets shown based on the tab. But the data in those tables is just incorrect 🤔
So I did a dd when tab is selected
- it does show the correct thread in the dd
- but when we do the foreach loop and get the widget, its wrong
so i did another dd inside the loop



and the other thread that is bieng shown doesnt even exist anywhere here lol
so the correct thread is being passed into the widget
that widget is setup like this

gets even weirder when i dd this after the widget is made

The 100% correct widget is made lol
