diff --git a/webapp/components/GroupForm/GroupForm.vue b/webapp/components/GroupForm/GroupForm.vue
index 2cbc67464..8e29bf300 100644
--- a/webapp/components/GroupForm/GroupForm.vue
+++ b/webapp/components/GroupForm/GroupForm.vue
@@ -14,9 +14,13 @@
+
{{ form.name }}
{{ form.status }}
{{ form.description }}
+ {{ form.categoryIds }}
Reset form
@@ -39,19 +43,18 @@ export default {
CategoriesSelect,
},
props:{
- value: {
- type: Object,
- default: () => ({}),
- required: true,
- }
+ model: { type: String, required: true },
+ value: { type: String, default: '' },
},
data() {
return {
+ categoriesActive: this.$env.CATEGORIES_ACTIVE,
form: {
name: '',
status: '',
description: '',
disable: false,
+ categoryIds: [],
}
}