Help with Vue cloning

Posted 1 month ago by theUnforgiven

I have this for adding new rows.

addRows() {
  for (let i = 0; i < this.units; i++) { 
    this.inputs.push(this.newInput);

  }
},

But from the screen shot, when I enter in each of the boxes I get the same value, when in actual fact, they all need to remain empty until a user types something in. I also want those rows to be associated with the index key.

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