title: pass value to method from dynamic input field vuejs
body: <p>I have a dynamic table with some input field and button in each row. I want to pass each row individual value when i click the button. Can anyone help me how to do it?</p>
  
  <p>HTML:</p>
  
  <pre><code>   &lt;tr v-for="(item, index) in items"&gt;
        //other Data
        &lt;td&gt;&lt;input v-model="item1"&gt;&lt;/td&gt;
        &lt;td&gt;&lt;input v-model="item2"&gt;&lt;/td&gt;&lt;/td&gt;
        &lt;td&gt;&lt;button @click="doSomething()"&gt;send&lt;/button&gt;&lt;/td&gt;
     &lt;/tr&gt;
  </code></pre>
  
  <p>javascript:</p>
  
  <pre><code>methods: {
      doSomething() {
          //values from each input field
      }
  }
  </code></pre>