Skip to content

Commit

Permalink
change select to autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
SazukinPavel committed Sep 11, 2023
1 parent d371416 commit d6c9bee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin-ui/src/components/modules/virtual/instanceCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
/>
</v-col>
<v-col cols="6">
<v-select
<v-autocomplete
label="product"
:value="instance.product"
v-if="products.length > 0"
:items="products"
item-text="key"
item-value="key"
@change="setValue('product', $event)"
>
<template v-slot:item="{ item }">
Expand All @@ -46,7 +47,7 @@
<span class="ml-4">{{ item.title }}</span>
</div>
</template>
</v-select>
</v-autocomplete>
</v-col>
</v-row>
</v-card>
Expand Down

0 comments on commit d6c9bee

Please sign in to comment.