sethsandaru / vue-form-builder

Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.
http://vue-form-builder.sethphat.com
MIT License
413 stars 129 forks source link

Possibility for users to fill up certain groups multiple times #47

Closed raphaelarias closed 3 years ago

raphaelarias commented 4 years ago

First of all, an outstanding package, congratulations.

Is it possible to do in the current package (or add to the package) a way for the users to fill up certain groups of fields multiple times?

For example, if we want to collect previous job experiences, we don't know how many they have. Something like this:

image

sethsandaru commented 4 years ago

Hello @raphaelarias ,

Thanks for the compliments. I very appreciate that.

In theory, it would be possible to fill up. I assume you have the data already, then just simply pass it to the v-model of Vue Form Builder. Therefore, the form will be filled up to certain fields based on your need.

Let me know if it can't work like that (also, more detail would be great)

Thanks.

raphaelarias commented 4 years ago

Hello @sethsandaru

In this case, we don't have the data, but it would be nice to give the user the option to add this type of field, so when the end-user is filling up the form, they can click a + button to add more fields (or group of).

sethsandaru commented 4 years ago

Hello @raphaelarias ,

Ahh, I know what you want now. It's actually a feature from the Vue-Form-Builder@1.x.x (I called it as Dynamic Section) which basically let the users to +/- the same section to input more data.

For @2.0.0 it hasn't had that feature yet. I'm still thinking of a good approach to make that happens. At least @2.2.0, it should be available.

(You can see the version 1 demo here: https://github.com/sethsandaru/vue-form-builder/wiki/Form-Builder-GUI---Introduction)

Thanks.