diff options
author | Mateja <mail@matejamaric.com> | 2021-03-15 22:30:19 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-03-15 22:30:19 +0100 |
commit | 002399d427f11646847904b11b1373204644aee2 (patch) | |
tree | e312609f6f66271e1cebc55230f600386dac13b6 /resources/js/components/call-sign-description.vue | |
parent | 5d79c586b963b1249eb148816a70d1cec618511f (diff) | |
download | yota-laravel-002399d427f11646847904b11b1373204644aee2.tar.gz yota-laravel-002399d427f11646847904b11b1373204644aee2.zip |
Use v-bind:key in v-for.
Diffstat (limited to 'resources/js/components/call-sign-description.vue')
-rw-r--r-- | resources/js/components/call-sign-description.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/components/call-sign-description.vue b/resources/js/components/call-sign-description.vue index b0dca4d..e930176 100644 --- a/resources/js/components/call-sign-description.vue +++ b/resources/js/components/call-sign-description.vue @@ -3,7 +3,7 @@ <div class="form-group"> <label for="special-call">Special Callsign:</label> <select class="form-control" id="special-call" v-model="selected" name="scall" required> - <option v-for="option in options" :value="option.sign" v-text="option.sign"></option> + <option v-for="option in options" :key="option.id" :value="option.sign" v-text="option.sign"></option> </select> </div> |