frame
Query string null in a relationmanager
Hey! Yeah i did something like that. Setting group as a property worked and also helped debug another problem I had, this time with custom pages 😅 https://discord.com/channels/883083792112300104/1327240818855252000/1327250122551201852
Using
#[Url]
to optimize line count further might be a good idea 👍13 replies
Custom resource page $this->record null when searching/sorting
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
5 replies
Query string null in a relationmanager
Filter relationmanager rows by two columns, User and Group. So $record would be User but then I need to also pass Group so I need to pass that by query string in URL, for example
UserResource::getUrl('view', ['record' => $record, 'group_id' => $group->id])
13 replies