From 8fd658a6257645e2a26535c4d74edf2913bd085d Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Sun, 26 Jan 2025 03:02:15 +0330 Subject: [PATCH] changed combobox --- frontend/components/global/ComboBox.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/frontend/components/global/ComboBox.vue b/frontend/components/global/ComboBox.vue index 0fbcd4f..b49fe5e 100644 --- a/frontend/components/global/ComboBox.vue +++ b/frontend/components/global/ComboBox.vue @@ -9,11 +9,14 @@ type Option = { type Props = { options: Option[]; modelValue: string[]; + placeholder?: string; }; // props -const props = defineProps(); +const props = withDefaults(defineProps(), { + placeholder: "جست و جو", +}); const { modelValue } = toRefs(props); @@ -48,11 +51,11 @@ watch(