@robertp1980 can you reedit this post and add in the code snippet you tried to include?
Nov 5, 2022
1
Level 3
request() query parameter inside anoynmous component?
When i try to access query parameter with @php @endphp in my anonymous component with request()->input('parameter') or request()->query('parameter'), i get alyway null.
It is possible to access it with facade or helper, without to pass it to the component itself?
My approach is to access on a ?back=my_path for a back Button. My problem is, when i open a livewire component to edit a model, and then hit save, i get not the right back() route,, instead i get the path to model/id/edit.
Maybe someone has a better solution to solve my problem.
Please or to participate in this conversation.