Custom resource page $this->record null when searching/sorting
The table renders fine initially, but when trying to sort or search
$this->record
is null. Am I missing some trait or something? π€
Same question as this removed one https://discord.com/channels/883083792112300104/1301012727036121219
Solution:Jump to solution
Actually did not work I just messed up. What really worked is setting additional
public MyModel $myRecord;
in the page and setting that on mount and using that instead of $this->record
2 Replies