public async Task OnSubmitHandler() { if (!IsValidationEnabled) { return; } IsValid = editContext.Validate(); if (IsValidatedAndValid) { try { await OnTagSelectedEvent.InvokeAsync(Model); } catch (Exception ex) { Logger.LogErrorCsro(ex); await CsroDialogService.ShowError("Error", $"Detail error: {ex.Message}"); } finally { HideLoading(); } } }
public async Task OncmdbReferenceChanged(string value) { if (value != null) { Model.cmdbReference = value; await OnTagSelectedEvent.InvokeAsync(Model); } }
public async Task OnopEnvironmentChanged(string value) { if (value != null) { Model.opEnvironment = value; await OnTagSelectedEvent.InvokeAsync(Model); } }