diff --git a/resources/js/components/form/Multipleselect.vue b/resources/js/components/form/Multipleselect.vue index c0d9525e..160ff31f 100644 --- a/resources/js/components/form/Multipleselect.vue +++ b/resources/js/components/form/Multipleselect.vue @@ -10,7 +10,14 @@ ></div> <div v-show="visible" class="absolute w-[max-content] z-30 max-h-[25rem] overflow-auto shadow-lg bg-gray-600 border border-gray-500 rounded-lg p-2 top-7 space-y-1"> <div v-for="(option, index) in parsedOptions" :key="index" class="flex items-center space-x-2"> - <f-switch :id="`${id}-${index}`" size="sm" :model-value="modelValue.includes(option.id)" :value="option.id" @update:modelValue="trigger(option, $event)"></f-switch> + <f-switch + :id="`${id}-${index}`" + :name="`${id}-${index}`" + size="sm" + :model-value="modelValue.includes(option.id)" + :value="option.id" + @update:modelValue="trigger(option, $event)" + ></f-switch> <div class="text-sm text-gray-200" v-text="option.name"></div> </div> </div>