[frontend/components] Disable vote button if no option is selected

This commit is contained in:
pancakes 2025-01-07 16:15:18 +10:00 committed by Lilian
parent b8fa9c952a
commit 5f99f1d055
No known key found for this signature in database

View file

@ -25,7 +25,7 @@
</label>
</span>
}
<button class="button" @onclick="Vote">@Loc["Vote"]</button>
<button class="button" @onclick="Vote" disabled="@(Choices.Count == 0)">@Loc["Vote"]</button>
</div>
}
else