add mass update to detailed reporting page

This commit is contained in:
Gregor Vostrak
2024-10-02 21:35:38 +02:00
parent fcba96fbf6
commit a77b8a5ed2
15 changed files with 779 additions and 94 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, ref } from 'vue';
import { computed, ref, watch } from 'vue';
const value = defineModel();
const emit = defineEmits(['changed']);
@@ -12,6 +12,13 @@ function onChange(event: Event) {
}
}
watch(
() => value.value,
(newValue) => {
liveDataValue.value = newValue;
}
);
function onInput(event: Event) {
liveDataValue.value = (event.target as HTMLInputElement).value;
}