F
Filament5mo ago
Robin

setting default active tab when testing

I have a simple resource which has a default active tab that is not "all", is it possible to set a default active tab when testing? something like
livewire(ManageXXX::class)->set('defaultActiveTab', 'yyy')
livewire(ManageXXX::class)->set('defaultActiveTab', 'yyy')
would be nice
Solution:
->set('activeTab', 'your_status')
->set('activeTab', 'your_status')
...
Jump to solution
2 Replies
Solution
LeandroFerreira
LeandroFerreira5mo ago
->set('activeTab', 'your_status')
->set('activeTab', 'your_status')
Robin
RobinOP5mo ago
works, thanks!
Want results from more Discord servers?
Add your server