From f56aa0695af7399dbfa52daa234b850b9bee2b5f Mon Sep 17 00:00:00 2001 From: Cody Jackson Date: Mon, 28 Sep 2020 16:18:43 -0700 Subject: [PATCH] Allowing arraylist to update when there's a defaultAddValue rancher/dashboard#1229 --- components/form/ArrayList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/form/ArrayList.vue b/components/form/ArrayList.vue index e51dd15b2f..36e1168e94 100644 --- a/components/form/ArrayList.vue +++ b/components/form/ArrayList.vue @@ -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;