Server post model, server creation form

This commit is contained in:
2021-10-14 01:44:47 -04:00
parent 27d4f5762a
commit 0dffa6e516
5 changed files with 62 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
@using Web.Shared.Models
<EditForm Model="@_serverModel" OnValidSubmit="@HandleValidSubmit">
<DataAnnotationsValidator/>
<ValidationSummary/>
<InputText @bind-Value="_serverModel.Name"/>
<button type="submit">Submit</button>
</EditForm>
@code {
private ServerModel _serverModel = new();
private void HandleValidSubmit()
{
}
}