Multiple instances of vForm?

forms

#1

Hello all, I need help creating and sending data with multiple forms. I’m using Vue 2.5.17 and vForm with laravel as backend. I need to create more than one form, each one independent of the other.

data() {
            return {
                editMode: false,
                groups: {},
                groupPermissions: {},
                form: new Form({
                    id: '',
                    name : '',
                }),
                formPermissions: new Form({
                    users: [],
                    groups: []
                }),
            }
        }

When I click “Send” in the second form, I receive the info of the first one. How can i achieve this?


#2

What do your forms look like?

Check the inputs on each form have the correct v-model=""
ie
v-model=“form.id”
v-model=“formPermissions.users[]”