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