{{ node.raw.full_label }}
@@ -24,6 +32,7 @@
:placeholder="placeholder"
:clearable="false"
:disabled="isDisabled"
+ :required="required"
>
{{ option.label }}
@@ -83,6 +92,10 @@
isDisabled: {
type: Boolean,
default: false
+ },
+ required: {
+ type: Boolean,
+ default: false
}
},
computed: {
diff --git a/view/adminhtml/web/vue/menu-type/category-child.vue b/view/adminhtml/web/vue/menu-type/category-child.vue
index de91fbe4..395fd86d 100644
--- a/view/adminhtml/web/vue/menu-type/category-child.vue
+++ b/view/adminhtml/web/vue/menu-type/category-child.vue
@@ -8,6 +8,7 @@
:item-key="'content'"
:options="options"
:config="config"
+ required
/>