$livewire->getState() Not Working
Someone suggested that I use this to obtain the full state of the page. But any time I try to use it in a form I get an error. Is there something special I need to do to access the full state?
5 Replies
By this I mean
$livewire->getState()
maybe
$livewire->form->getState()
where are you calling it fromI just tried that
It's not returning an error but it's always empty
I'm calling it from within the
protected function getTableHeaderActions
for a relation manager
Here is a link to my earlier conversation: https://discord.com/channels/883083792112300104/1096177373726118040/1096177373726118040try
$get('../../selections')
Wow I swear I tried that yesterday but I must've been doing something wrong
Works perfectly
Thank you!