Trying to have a same dropdowns menu each time when cloning the form

Posted 1 year ago by meredith

My form is able to be cloned each time when I push a new form instance to the array. But each time when I select some value on the parent form, the selected value in child form also updated. I have read non parent-children communication on Vuejs website but still confused. Another important thing I noticed is I have to declare the options array outside of the form data scope. I used vue-multiselect library.

Here is my jsfiddle:

Thank you for any possible answers in advance.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.