1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-08-20 13:49:51 +02:00
Files
.config
.run
.workdir
Agent
Common
Docker
Server
Phantom.Server
Phantom.Server.Database
Phantom.Server.Database.Postgres
Phantom.Server.Rpc
Phantom.Server.Services
Phantom.Server.Web
Phantom.Server.Web.Bootstrap
Phantom.Server.Web.Components
Forms
Base
Fields
FormButtonSubmit.cs
FormLabel.razor
FormNumberInput.razor
FormNumberInputType.cs
FormSelectInput.razor
FormTextInput.razor
Graphics
Utils
Phantom.Server.Web.Components.csproj
_Imports.razor
Utils
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
PhantomPanel.sln
global.json

23 lines
759 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())" />
<ValidationMessage For="@ValueExpression" class="invalid-feedback" />
@code {
[Parameter]
public FormNumberInputType Type { get; set; } = FormNumberInputType.Number;
protected override ICustomFormField FormField { get; set; } = null!;
}