Reset validation issues when switching policies

This commit is contained in:
Thorsten Sommer 2026-01-28 10:30:02 +01:00
parent b37639e4df
commit f059a47315
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -268,6 +268,9 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<NoSettingsPan
this.ResetForm();
this.policyDefinitionExpanded = !this.selectedPolicy?.IsProtected ?? true;
this.ApplyPolicyPreselection(preferPolicyPreselection: true);
this.form?.ResetValidation();
this.ClearInputIssues();
}
private Task PolicyDefinitionExpandedChanged(bool isExpanded)