Upgraded to MudBlazor 9 (#1137)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-31 10:48:20 +01:00
1 parent e0337a99bc
commit aeba1fbccc
625 files changed
+408 -882

No files matched your search

@@ -206,7 +206,7 @@ public partial class TranscriptionProviderDialog : MSGComponentBase, ISecretId
if (this.DataLLMProvider is not LLMProviders.SELF_HOSTED && !this.IsEnterpriseConfiguration)
{
this.dataAPIKeyStorageIssue = string.Format(T("Failed to load the API key from the operating system. The message was: {0}. You might ignore this message and provide the API key again."), requestedSecret.Issue);
await this.form.Validate();
await this.form.ValidateAsync();
}
}
@@ -227,7 +227,7 @@ public partial class TranscriptionProviderDialog : MSGComponentBase, ISecretId
// Reset the validation when not editing and on the first render.
// We don't want to show validation errors when the user opens the dialog.
if(!this.IsEditing && firstRender)
this.form.ResetValidation();
await this.form.ResetValidationAsync();
await base.OnAfterRenderAsync(firstRender);
}
@@ -251,7 +251,7 @@ public partial class TranscriptionProviderDialog : MSGComponentBase, ISecretId
if (this.IsProviderProhibited)
return;
await this.form.Validate();
await this.form.ValidateAsync();
this.dataAPIKeyStorageIssue = string.Empty;
// Manually validate the model selection (needed when no models are loaded
@@ -277,7 +277,7 @@ public partial class TranscriptionProviderDialog : MSGComponentBase, ISecretId
if (!storeResponse.Success)
{
this.dataAPIKeyStorageIssue = string.Format(T("Failed to store the API key in the operating system. The message was: {0}. Please try again."), storeResponse.Issue);
await this.form.Validate();
await this.form.ValidateAsync();
return;
}
@@ -291,7 +291,7 @@ public partial class TranscriptionProviderDialog : MSGComponentBase, ISecretId
if (!deleteResponse.Success)
{
this.dataAPIKeyStorageIssue = string.Format(T("Failed to remove the API key from the operating system. The message was: {0}. Please try again."), deleteResponse.Issue);
await this.form.Validate();
await this.form.ValidateAsync();
return;
}
@@ -309,7 +309,7 @@ public partial class TranscriptionProviderDialog : MSGComponentBase, ISecretId
if (!string.IsNullOrWhiteSpace(this.dataAPIKeyStorageIssue))
{
this.dataAPIKeyStorageIssue = string.Empty;
await this.form.Validate();
await this.form.ValidateAsync();
}
}