Skip to content
Advertisement

How to properly browse an image with Vue-Form-Generator ? (cause it doesnt work for me)

I am a new full-stack developer student and I want to use Vue-Form-Generator to generate a form with input fields and I want to browse an image. All of my fields works except the image browse one. It doesn’t displays on my page. I tried a lot of things, but my last hope is someone who could know it.

My Vue.js code :

JavaScript

What it displays : my page with everything except the image browse

The console error

Advertisement

Answer

Given the console error you have, looks like you are using the “Core” rather than “Full” version of Vue-Form-Generator.

See the docs here for how to use the full version, which includes all field types. The image field type is not in the core version.

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