Access the Temporary uploaded file in form action

I have a model to upload files and I need to pass the file object to the action for some other methods to access it. How can I achieve it?

I tried like below:
but it gives an error
Unresolvable dependency resolving [Parameter #0 [ <required> $path ]] in class Livewire\Features\SupportFileUploads\TemporaryUploadedFile
image.png
Was this page helpful?