Skip to content

Commit 5c5bfd1

Browse files
[6.x] Prevent combobox input from being autofilled (#12081)
Prevent combobox input from being autofilled
1 parent a7a696b commit 5c5bfd1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

resources/js/components/ui/Combobox.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,11 @@ defineExpose({
297297
v-if="searchable && (dropdownOpen || !modelValue || (multiple && placeholder))"
298298
ref="search"
299299
class="w-full text-gray-700 dark:text-gray-400 opacity-100 focus:outline-none placeholder-xs"
300+
type="search"
300301
:id="id"
301302
v-model="searchQuery"
302303
:placeholder
304+
autocomplete="off"
303305
@paste.prevent="onPaste"
304306
@keydown.enter.prevent="pushTaggableOption"
305307
@blur="pushTaggableOption"

0 commit comments

Comments
 (0)