Query string null in a relationmanager
I can read
Is there a way to read URL query strings in a relationmanager, or some other way to pass data from Resource to Relationmanager? I need to alter both UserResource infolist and the ResultsRelationManager table under it based on this query string.
request()->query('group') in ViewUser::getTitle just fine but in UserResource's ResultsRelationManager it returns null. Is there a way to read URL query strings in a relationmanager, or some other way to pass data from Resource to Relationmanager? I need to alter both UserResource infolist and the ResultsRelationManager table under it based on this query string.
Solution
in your relation manager if you would add property $group and set it as Url livewire attribute. does it work then?
and call it where needed like
and call it where needed like
$this->group then