Allow to add more than 1 row at a time

This commit is contained in:
nemunaire 2020-10-08 12:29:50 +02:00
parent 0dce870998
commit f64c93e08b

View File

@ -173,9 +173,7 @@ export default {
},
addRow () {
if ((this.value == null && this.tmp_values.length <= 1) || (this.value != null && this.tmp_values.length <= this.value.length)) {
this.tmp_values.push({ _key: this.tmp_values.length, _edit: true })
}
this.tmp_values.push({ _key: this.tmp_values.length, _edit: true })
},
cancelEdit (row) {