fix platform selection v-model

This commit is contained in:
MiniDigger | Martin 2022-06-19 00:41:15 +02:00
parent ea683d22b7
commit 8cedfa8f51

View File

@ -238,7 +238,7 @@ useHead(
<h2 class="mt-5 mb-2 text-xl">{{ t("version.new.form.platforms") }}</h2>
<div v-for="platform in platforms" :key="platform.name" class="ml-2">
<InputCheckbox
:v-model="selectedPlatforms.includes(platform.enumName)"
:model-value="selectedPlatforms.includes(platform.enumName)"
:rules="platformVersionRules"
:label="platform.name"
@change="togglePlatform(platform.enumName)"