Skip to content

Commit fb816b9

Browse files
committed
chore: fix typescript errors in ColumnValueInputWrapper
1 parent 3a3d2b4 commit fb816b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adminforth/spa/src/components/ColumnValueInputWrapper.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@update:unmasked="$emit('update:unmasked', column.name)"
2020
@update:inValidity="$emit('update:inValidity', { name: column.name, value: $event })"
2121
@update:emptiness="$emit('update:emptiness', { name: column.name, value: $event })"
22-
@delete="setCurrentValue(column.name, currentValues[column.name].filter((_, index) => index !== arrayItemIndex))"
22+
@delete="setCurrentValue(column.name, currentValues[column.name].filter((index: any) => index !== arrayItemIndex))"
2323
/>
2424
</div>
2525
<div class="flex items-center">
@@ -71,7 +71,7 @@
7171
7272
const emit = defineEmits(['update:unmasked', 'update:inValidity', 'update:emptiness', 'focus-last-input']);
7373
74-
const arrayItemRefs = ref([]);
74+
const arrayItemRefs = ref<HTMLInputElement[]>([]);
7575
7676
async function addArrayItem() {
7777
props.setCurrentValue(props.column.name, props.currentValues[props.column.name], props.currentValues[props.column.name].length);

0 commit comments

Comments
 (0)