mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-06-15 03:39:55 +02:00
Fix drop-down with Minecraft version types accidentally submitting the instance creation form
This commit is contained in:
parent
d50119d666
commit
b71bc56fc2
@ -66,7 +66,7 @@
|
|||||||
<ul class="dropdown-menu dropdown-menu-end">
|
<ul class="dropdown-menu dropdown-menu-end">
|
||||||
@foreach (var versionType in MinecraftVersionTypes.WithServerJars) {
|
@foreach (var versionType in MinecraftVersionTypes.WithServerJars) {
|
||||||
<li>
|
<li>
|
||||||
<button class="dropdown-item" @onclick="() => SetMinecraftVersionType(versionType)">@versionType.ToNiceNamePlural()</button>
|
<button type="button" class="dropdown-item" @onclick="() => SetMinecraftVersionType(versionType)">@versionType.ToNiceNamePlural()</button>
|
||||||
</li>
|
</li>
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user