@using Start.Client.Components.Shared @using Start.Client.Store.Features.CreateContainer @using Fluxor @inherits Fluxor.Blazor.Web.Components.FluxorComponent @inject IDispatcher dispatch @inject IState state
Create Container
@if (this.state.Value.CreateContainerErrorMessage != null) { @this.state.Value.CreateContainerErrorMessage }
@if (this.state.Value.IsLoadingCreateContainer) { } else { }
@code { [Parameter] public EventCallback OnCreated { get; set; } private BookmarkContainerDto Model { get; set; } = new BookmarkContainerDto("", 0); protected void OnSubmit() { dispatch.Dispatch(new SubmitCreateContainerAction(this.Model)); } protected void OnDialogClose() { dispatch.Dispatch(new HideCreateContainerFormAction()); } }