diff --git a/src/components/fields/Text.vue b/src/components/fields/Text.vue index aa95bab..6bedd2b 100644 --- a/src/components/fields/Text.vue +++ b/src/components/fields/Text.vue @@ -20,7 +20,7 @@ const emit = defineEmits(['update:modelValue']); const props = defineProps({ modelValue: { required: true, - validator: (value) => typeof value === 'string', + validator: (value) => value === null || typeof value === 'string', }, field: { required: true,