From 3fb961af0d0912c1eefb6e860e92d889211ba5a8 Mon Sep 17 00:00:00 2001 From: Favour Olayinka Date: Wed, 4 Sep 2024 10:51:38 +0100 Subject: [PATCH] fix matrix input (#556) * fix matrix input * Fix matrix responsiveness --------- Co-authored-by: Julien Nahum --- client/components/forms/MatrixInput.vue | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/client/components/forms/MatrixInput.vue b/client/components/forms/MatrixInput.vue index 25cdad39..8345ad61 100644 --- a/client/components/forms/MatrixInput.vue +++ b/client/components/forms/MatrixInput.vue @@ -4,7 +4,7 @@
- +
- @@ -37,8 +35,8 @@ :key="rowIndex" class="border-t border-gray-300" > - @@ -103,7 +101,7 @@ export default { } }, computed: {}, - beforeMount() { + mounted() { if (!this.compVal || typeof this.compVal !== 'object') { this.compVal = {} }
+ -
+
{{ column }}
-
+
+
{{ row }}