1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2024-11-23 19:42:51 +01:00
Minecraft-Phantom-Panel/Server/Phantom.Server.Web.Components/Forms/FormTextInput.razor

19 lines
585 B
Plaintext

@inherits FormInputBaseDebounced<string>
<FormLabel Id="@Id" Label="@Label" LabelFragment="@LabelFragment" />
<InputFieldText @ref="FormField"
Value="@Value"
ValueChanged="@ValueChanged"
ValueExpression="@ValueExpression"
OnChange="@OnChangeDebounced"
OnBlur="@OnBlur"
AdditionalAttributes="@GetAttributes("form-control")" />
<ValidationMessage For="@ValueExpression" class="invalid-feedback" />
@code {
protected override ICustomFormField FormField { get; set; } = null!;
}