Allowing arraylist to update when there's a defaultAddValue

rancher/dashboard#1229
This commit is contained in:
Cody Jackson 2020-09-28 16:18:43 -07:00
parent ace85bfe9d
commit f56aa0695a
1 changed files with 3 additions and 1 deletions

View File

@ -150,7 +150,9 @@ export default {
methods: {
add() {
this.rows.push({ value: this.defaultAddValue });
// this.queueUpdate();
if (this.defaultAddValue) {
this.queueUpdate();
}
this.$nextTick(() => {
const inputs = this.$refs.value;