How to get selected records on table from livewire
Im creating a table where i need to add an action to do something with records selected, this is totally a bulk action, but my users dont like the buttons appearing only when something is selected.
So my idea is to move the button actions somewhere else and get the currently selected records when the button is pressed, but i cant find a way to do that
I only found $selectedTableRecords and $this->getSelectedTableRecords() but they are always empty.
What can i do?
So my idea is to move the button actions somewhere else and get the currently selected records when the button is pressed, but i cant find a way to do that
I only found $selectedTableRecords and $this->getSelectedTableRecords() but they are always empty.
What can i do?