title: Vuejs array input in v-for
body: <p>i have a simple form about person's info. I have a persons count, for example 3. I need to send json like this:</p>
  
  <pre><code>{
    persons[0].surname: '',
    persons[0].name: '',
    persons[0].something'',
    persons[1].surname: '',
    persons[1].name: '',
    persons[1].something'',
    persons[2].surname: '',
    persons[2].name: '',
    persons[2].something'',
  }
  </code></pre>
  
  <p>I have set up my form like this</p>
  
  <pre><code> &lt;template v-for="(person, person_index) in people"&gt;
  &lt;input type="text" placeholder="surname"&gt;
  &lt;input type="text" placeholder="name"&gt;
  &lt;input type="text" placeholder="something"&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>and my data:</p>
  
  <pre><code>data() {
      return {
          persons: [],
          people: 3
  },
  
  methods: { 
      save(){
          console.log(this.persons);
      } 
  }
  </code></pre>