Skip to content

Commit

Permalink
update combobox and autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
nekosaur committed Sep 20, 2022
1 parent 1be7299 commit d438115
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ export const VAutocomplete = genericComponent<new <
selected={ selected.value }
selectStrategy={ props.multiple ? 'independent' : 'single-independent' }
onMousedown={ (e: MouseEvent) => e.preventDefault() }
opened={ items.value.map(item => item.value) }
type="select"
>
{ slots['prepend-item']?.() }

Expand Down
2 changes: 2 additions & 0 deletions packages/vuetify/src/components/VCombobox/VCombobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ export const VCombobox = genericComponent<new <
selected={ selected.value }
selectStrategy={ props.multiple ? 'independent' : 'single-independent' }
onMousedown={ (e: MouseEvent) => e.preventDefault() }
opened={ items.value.map(item => item.value) }
type="select"
>
{ slots['prepend-item']?.() }

Expand Down

0 comments on commit d438115

Please sign in to comment.