diff --git a/src/components/input/multiselect.vue b/src/components/input/multiselect.vue index b3b0c291d..610eb828a 100644 --- a/src/components/input/multiselect.vue +++ b/src/components/input/multiselect.vue @@ -32,6 +32,8 @@ @keydown.down.exact.prevent="() => preSelect(0)" ref="searchInput" @focus="handleFocus" + :autocomplete="autocompleteEnabled ? undefined : 'off'" + :spellcheck="autocompleteEnabled ? undefined : 'false'" /> @@ -196,6 +198,13 @@ const props = defineProps({ type: Boolean, default: true, }, + /** + * If false, the search input will get the autocomplete="off" attributes attached to it. + */ + autocompleteEnabled: { + type: Boolean, + default: true, + } }) const emit = defineEmits<{ diff --git a/src/components/tasks/partials/editAssignees.vue b/src/components/tasks/partials/editAssignees.vue index c9c9a1a0f..c0b754539 100644 --- a/src/components/tasks/partials/editAssignees.vue +++ b/src/components/tasks/partials/editAssignees.vue @@ -9,6 +9,7 @@ label="name" :select-placeholder="$t('task.assignee.selectPlaceholder')" v-model="assignees" + :autocomplete-enabled="false" >