diff --git a/src/components/fields/Group.vue b/src/components/fields/Group.vue index 6170392..f4510ab 100644 --- a/src/components/fields/Group.vue +++ b/src/components/fields/Group.vue @@ -9,7 +9,7 @@ > - + @@ -28,9 +28,9 @@ const props = defineProps({ field: { required: true, validator: (value) => - hasKeys(value, [...globalFieldRules(), 'required', 'parent_field', 'parent_group', 'empty_option', 'empty_option_value']) && + hasKeys(value, [...globalFieldRules(), 'required', 'parent_field', 'parent_group', 'has_empty_option', 'empty_option_value']) && typeof value.required === 'boolean' && - typeof value.empty_option === 'boolean' && + typeof value.has_empty_option === 'boolean' && typeof value.empty_option_value === 'string' && typeof value.key === 'string' && value.key.length > 0 &&