diff --git a/src/components/shared/SelectInput.vue b/src/components/shared/SelectInput.vue index 14f4a33c..1026ca22 100644 --- a/src/components/shared/SelectInput.vue +++ b/src/components/shared/SelectInput.vue @@ -3,7 +3,7 @@ import { onMounted, ref, watch } from 'vue'; import { selectFilterOptionRefMod } from 'src/stores/utils'; import { QSelect } from 'quasar'; -const model = defineModel | null>(); +const model = defineModel | null>(); const options = ref[]>([]); let defaultFilter: ( @@ -26,6 +26,7 @@ const props = withDefaults( incremental?: boolean; fillInput?: boolean; disable?: boolean; + multiple?: boolean; rules?: ((value: string) => string | true)[]; }>(), @@ -75,7 +76,9 @@ watch( use-input emit-value map-options - :hideSelected + :multiple + :use-chips="multiple" + :hide-selected hide-bottom-space :fill-input="fillInput && !!model" :hide-dropdown-icon="readonly" @@ -108,7 +111,6 @@ watch(