1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-05-08 03:34:03 +02:00

Fix drop-down with Minecraft version types accidentally submitting the instance creation form

This commit is contained in:
chylex 2023-02-07 21:48:37 +01:00
parent d50119d666
commit b71bc56fc2
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -66,7 +66,7 @@
<ul class="dropdown-menu dropdown-menu-end">
@foreach (var versionType in MinecraftVersionTypes.WithServerJars) {
<li>
<button class="dropdown-item" @onclick="() => SetMinecraftVersionType(versionType)">@versionType.ToNiceNamePlural()</button>
<button type="button" class="dropdown-item" @onclick="() => SetMinecraftVersionType(versionType)">@versionType.ToNiceNamePlural()</button>
</li>
}
</ul>