Skip to content

Commit

Permalink
fix(VAutocomplete): fix undefined selected property
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Jan 18, 2023
1 parent 59606a4 commit b54eb16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/autocomplete/src/VAutocomplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const clear = () => {
wrapperClass,
{
'autocomplete--error': !!errorMessage,
'autocomplete--selected': !!selected,
'autocomplete--selected': !!uncontrolledValue,
},
]"
as="div"
Expand All @@ -110,7 +110,7 @@ const clear = () => {
<ComboboxInput
class="autocomplete-input"
:class="{
'autocomplete-input--selected': !!selected,
'autocomplete-input--selected': !!uncontrolledValue,
}"
:display-value="(item: any) => item?.[displayText] || ''"
:placeholder="placeholder"
Expand Down

0 comments on commit b54eb16

Please sign in to comment.