mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-24 22:42:53 +01:00
23 lines
736 B
Plaintext
23 lines
736 B
Plaintext
@typeparam TValue
|
|
@inherits FormInputBaseDebounced<TValue>
|
|
|
|
<FormLabel Id="@Id" Label="@Label" LabelFragment="@LabelFragment" />
|
|
<InputFieldNumeric @ref="FormField"
|
|
Type="@Type"
|
|
Value="@Value"
|
|
ValueChanged="@ValueChanged"
|
|
ValueExpression="@ValueExpression"
|
|
OnChange="@OnChangeDebounced"
|
|
OnBlur="@OnBlur"
|
|
AdditionalAttributes="@GetAttributes(Type.GetBootstrapCssClass())" />
|
|
<FormValidationMessage For="@ValueExpression" />
|
|
|
|
@code {
|
|
|
|
[Parameter]
|
|
public FormNumberInputType Type { get; set; } = FormNumberInputType.Number;
|
|
|
|
protected override ICustomFormField FormField { get; set; } = null!;
|
|
|
|
}
|