title: Update a unique Vue Model in a dynamic array
body: <p>How do I generate a list, edit some data, and push then it to db? When I hit 'submit', the changes made have no effect. </p>
  
  <p><a href="http://jsfiddle.net/cf0cuz0d/" rel="nofollow">Example:</a></p>
  
  <pre><code>&lt;div id="demo"&gt;
  &lt;button v-on="click: generateProducts"&gt;Generate products&lt;/button&gt;
  &lt;table border='1px'&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;td&gt;Product name&lt;/td&gt;
              &lt;td&gt;Quantity&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr v-repeat="product in products"&gt;
              &lt;td&gt;{{ product.name }}&lt;/td&gt;
              &lt;td&gt;
                  &lt;input name="productQty[]" type="text" value="{{ product.qty }}"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>new Vue({
  
  el: '#demo',
  
  data: {
      products: []
  },
  
  methods: {
      generateProducts: function() {
          console.log('works');
          var self = this;
  
          self.products = [
              {name: 'Black Box', qty: '40'},
              {name: 'Blue Box', qty: '40'},
              {name: 'Orange Box', qty: '40'}
          ];
      }
  }
  });
  </code></pre>