[Vuejs]-How to update record if no image is added in Laravel and VueJs application

0👍

In your controller, the condition if(request('photo')) is always true.

To Retrieving Input from the request use Request $request variable. for example:

for file: $request->file('photo');

for other text: $request->input('description');

Leave a comment