mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 12:55:55 +00:00
Fix required key in Vue component iteration
This commit is contained in:
parent
9b4a0da10b
commit
a3dcbd62bc
1 changed files with 3 additions and 1 deletions
|
@ -3,10 +3,11 @@
|
|||
class="toggle-switch"
|
||||
>
|
||||
<template
|
||||
v-for="item in items"
|
||||
v-for="(item, index) in items"
|
||||
>
|
||||
<input
|
||||
:id="item.value"
|
||||
:key="index"
|
||||
:value="item.value"
|
||||
:name="groupName"
|
||||
type="radio"
|
||||
|
@ -14,6 +15,7 @@
|
|||
@click="toggle"
|
||||
>
|
||||
<label
|
||||
:key="index"
|
||||
:for="item.value"
|
||||
type="radio"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue