From 0f64b00a73cb6da800af3348688dddf625d19005 Mon Sep 17 00:00:00 2001 From: Nicola Krumschmidt Date: Wed, 14 Apr 2021 16:44:38 +0200 Subject: [PATCH] Fix the edited dot if the field value is falsy (#5054) --- app/src/components/v-form/form-field.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/components/v-form/form-field.vue b/app/src/components/v-form/form-field.vue index 8e46126bcb..51d7ff98b1 100644 --- a/app/src/components/v-form/form-field.vue +++ b/app/src/components/v-form/form-field.vue @@ -135,7 +135,7 @@ export default defineComponent({ }); const isEdited = computed(() => { - return props.value && isEqual(props.value, props.initialValue) === false; + return props.value !== undefined && isEqual(props.value, props.initialValue) === false; }); const { showRaw, rawValue } = useRaw();