1
0
Fork 0
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:
Dan Salvato 2024-02-15 13:05:24 -07:00
parent 9b4a0da10b
commit a3dcbd62bc

View file

@ -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"
>