Skip to content

Commit 87f3132

Browse files
committed
fix matrix input
1 parent 01c0f5b commit 87f3132

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/components/forms/MatrixInput.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
>
1919
<thead class="">
2020
<tr>
21-
<th />
21+
<th colspan="2"/>
2222
<td
2323
v-for="column in columns"
2424
:key="column"
@@ -37,8 +37,8 @@
3737
:key="rowIndex"
3838
class="border-t border-gray-300"
3939
>
40-
<td>
41-
<div class="w-full flex-grow p-2 text-sm truncate">
40+
<td colspan="2">
41+
<div class="w-full flex-grow p-2 text-sm">
4242
{{ row }}
4343
</div>
4444
</td>
@@ -103,7 +103,7 @@ export default {
103103
}
104104
},
105105
computed: {},
106-
beforeMount() {
106+
mounted() {
107107
if (!this.compVal || typeof this.compVal !== 'object') {
108108
this.compVal = {}
109109
}

0 commit comments

Comments
 (0)