From 2b1c1348b4e5d35fd2643b4493aab67def1aa4f5 Mon Sep 17 00:00:00 2001 From: mohadese namavar Date: Wed, 10 Jul 2024 16:22:10 +0430 Subject: [PATCH] new product category select bug fixed --- initialize/new-product.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initialize/new-product.js b/initialize/new-product.js index 5b5224f..5fe52c9 100644 --- a/initialize/new-product.js +++ b/initialize/new-product.js @@ -37,7 +37,7 @@ export default () => { label: t("category"), props: { placeholder: "", filter: true, - options: categories.items, optionLabel: "name", optionGroupLabel: "name", optionGroupChildren: "sub", + options: categories.items, optionLabel: "name", optionGroupChildren: "sub", optionValue: "_id" }, },