Update dependencies and fix code issues
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
<div v-for="item in radioItems" :key="item.id" class="flex items-center">
|
||||
<input v-model="groupValue"
|
||||
type="radio" name="radio"
|
||||
:checked="item.checked" @change="onChange(item)"
|
||||
:checked="itemSelected.id === item.id ? true : false"
|
||||
@change="onChange(item)"
|
||||
class="w-4 h-4 border-gray-300 text-primary-500 peer focus:ring-primary-500" />
|
||||
<label :for="`${item.id}`" class="block ml-3 text-sm font-medium text-gray-700 peer-checked:text-primary-500">{{
|
||||
item.title }}</label>
|
||||
|
Reference in New Issue
Block a user