diff options
-rw-r--r-- | src/components/new_item.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/new_item.vue b/src/components/new_item.vue index 34162a5..7615ec0 100644 --- a/src/components/new_item.vue +++ b/src/components/new_item.vue @@ -130,13 +130,13 @@ onMounted(() => { <label for="item-brand-input" class="form-label">Brand</label> <select class="form-select" - aria-label="Default select example" + aria-label="Select Brand" id="item-brand-input" v-model="itemBrand" > <option selected disabled value="0">Select Brand</option> - <option v-for="brand in allBrands" :value="brand"> + <option v-for="brand in allBrands" :value="brand" :key="brand.id"> {{ brand.Name }} </option> </select> |