From b37639e4df5589ba1ec62f58b275367ee91d958a Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 28 Jan 2026 10:29:12 +0100 Subject: [PATCH] Allow assistants to reset the input issues --- .../Assistants/AssistantBase.razor.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs b/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs index 0e1d6812..4393928a 100644 --- a/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs +++ b/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs @@ -188,6 +188,16 @@ public abstract partial class AssistantBase : AssistantLowerBase wher this.inputIsValid = false; this.StateHasChanged(); } + + /// + /// Clear all input issues. + /// + protected void ClearInputIssues() + { + this.inputIssues = []; + this.inputIsValid = true; + this.StateHasChanged(); + } protected void CreateChatThread() {