@using MoonCore.Blazor.FlyonUi.Components @using MoonlightServers.Shared.Http.Requests.Admin.NodeAllocations @inherits MoonCore.Blazor.FlyonUi.Modals.BaseModal

Add multiple allocations

Add a range of new allocations to the selected node

Create
@code { [Parameter] public Func OnSubmit { get; set; } private CreateNodeAllocationRangeRequest Form; private HandleForm HandleForm; protected override void OnInitialized() { Form = new() { IpAddress = "0.0.0.0", Start = 2000, End = 3000 }; } private async Task OnValidSubmit() { await OnSubmit.Invoke(Form); await HideAsync(); } private Task SubmitAsync() => HandleForm.SubmitAsync(); }