mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-15 19:01:36 +00:00
Reset validation issues when switching policies
This commit is contained in:
parent
b37639e4df
commit
f059a47315
@ -268,6 +268,9 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<NoSettingsPan
|
|||||||
this.ResetForm();
|
this.ResetForm();
|
||||||
this.policyDefinitionExpanded = !this.selectedPolicy?.IsProtected ?? true;
|
this.policyDefinitionExpanded = !this.selectedPolicy?.IsProtected ?? true;
|
||||||
this.ApplyPolicyPreselection(preferPolicyPreselection: true);
|
this.ApplyPolicyPreselection(preferPolicyPreselection: true);
|
||||||
|
|
||||||
|
this.form?.ResetValidation();
|
||||||
|
this.ClearInputIssues();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Task PolicyDefinitionExpandedChanged(bool isExpanded)
|
private Task PolicyDefinitionExpandedChanged(bool isExpanded)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user