Radiobutton dynamic doc fixed

pull/3798/head
Bahadır Sofuoğlu 2023-03-23 23:44:32 +03:00
parent 43d812453d
commit b25bc5a29a
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<div class="flex flex-column gap-3"> <div class="flex flex-column gap-3">
<div v-for="(category, index) in categories" :key="category.key" class="flex align-items-center"> <div v-for="(category, index) in categories" :key="category.key" class="flex align-items-center">
<RadioButton v-model="selectedCategory" :inputId="category.key + index" name="pizza" :value="category.name" /> <RadioButton v-model="selectedCategory" :inputId="category.key + index" name="pizza" :value="category.name" />
<label :for="category.key" class="ml-2">{{ category.name }}</label> <label :for="category.key + index" class="ml-2">{{ category.name }}</label>
</div> </div>
</div> </div>
</div> </div>