diff --git a/frontend/components/global/ComboBox.vue b/frontend/components/global/ComboBox.vue index 42a3718..14b7b9c 100644 --- a/frontend/components/global/ComboBox.vue +++ b/frontend/components/global/ComboBox.vue @@ -4,10 +4,12 @@ type OptionChildren = { id: number | string; name: string; + slug: string; }; type Option = { name: string; + slug: string; children: OptionChildren[]; }; @@ -39,7 +41,7 @@ watch( () => value.value, (newValue) => { if (!!newValue) { - emit("update:modelValue", newValue.id); + emit("update:modelValue", newValue.slug); } } );