Skip to content
Advertisement

update return array [“isTrusted” => true] Laravel with Vue3 and Inertiajs

I tried to make Update i made a debug in Laravel 8 like that:

Edit and Update function in Controller

JavaScript

Vue Template

JavaScript

it return the data in the form but the problem with the image file its return that in debug after changing image file and submit:

array [“isTrusted” => true]

I added in the form like that:

JavaScript

nothing changed

I tried to return the image from the props and nothing changed

Advertisement

Answer

I’ve solve the problem

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement