mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-24 22:42:53 +01:00
18 lines
546 B
Plaintext
18 lines
546 B
Plaintext
@typeparam TValue
|
|
@using System.Diagnostics.CodeAnalysis
|
|
@inherits Phantom.Server.Web.Components.Forms.Base.FormInputBase<TValue>
|
|
|
|
<FormLabel Id="@Id" Label="@Label" LabelFragment="@LabelFragment" />
|
|
<InputSelect Value="@Value" ValueChanged="@ValueChanged" ValueExpression="@ValueExpression" AdditionalAttributes="@GetAttributes("form-select")">
|
|
@ChildContent
|
|
</InputSelect>
|
|
<ValidationMessage For="@ValueExpression" class="invalid-feedback" />
|
|
|
|
@code {
|
|
|
|
[Parameter]
|
|
[DisallowNull]
|
|
public RenderFragment? ChildContent { get; set; }
|
|
|
|
}
|