[frontend/components] Disable vote button if no option is selected
This commit is contained in:
parent
b8fa9c952a
commit
5f99f1d055
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
</label>
|
</label>
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
<button class="button" @onclick="Vote">@Loc["Vote"]</button>
|
<button class="button" @onclick="Vote" disabled="@(Choices.Count == 0)">@Loc["Vote"]</button>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue