Douglas Gough
Livewire not finding component?
I've created a resource with a view page. When I visit the page I get an error saying Undefined variable $jobStatus. The error is generated from the blade view. I've gone over the code and can't see the error. It's probably something simple but I'm missing it. Any help is appreciated.
On the view page I'm calling a livewire component like this:
This is the view at the path resources/views/livewire/pan-import-progress.blade.php
And this is the component at app/livewire/PanImportProgress.php
4 replies
ImportAction bypass FileUpload and pass filename directly
I upload files and convert them to CSV. They are stored on the server and a record is created in the database. I want to display an 'Import' link on each table row that passes the local filepath directly to the Import Action, rather than using FileUpload. I would like to see the modal that maps CSV columns to DB columns instead of seeing FileUpload. Is this possible?
4 replies