Form in ChatInput are displayed correctly!

This commit is contained in:
Josako
2025-06-13 20:30:56 +02:00
parent 2835486599
commit 3c7460f741
5 changed files with 40 additions and 12 deletions

View File

@@ -30,7 +30,10 @@ export const FormField = {
return this.modelValue;
},
set(value) {
this.$emit('update:modelValue', value);
// Voorkom emit als de waarde niet is veranderd
if (JSON.stringify(value) !== JSON.stringify(this.modelValue)) {
this.$emit('update:modelValue', value);
}
}
},
fieldType() {