mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 23:18:00 +00:00
Added send button
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -20,7 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MudPaper Style="flex: 0 0 auto;">
|
<MudPaper Style="flex: 0 0 auto;">
|
||||||
<MudTextField T="string" Variant="Variant.Filled" AutoGrow="@true" Lines="3" MaxLines="12" Label="Your Prompt" Placeholder="Type your question here...">
|
<MudTextField T="string" Variant="Variant.Filled" AutoGrow="@true" Lines="3" MaxLines="12" Label="Your Prompt" Placeholder="Type your question here..." Adornment="Adornment.End" AdornmentIcon="@Icons.Material.Filled.Send" OnAdornmentClick="() => this.SendMessage()">
|
||||||
</MudTextField>
|
</MudTextField>
|
||||||
</MudPaper>
|
</MudPaper>
|
||||||
</div>
|
</div>
|
||||||
@@ -3,5 +3,8 @@ using Microsoft.AspNetCore.Components;
|
|||||||
namespace AIStudio.Components.Pages;
|
namespace AIStudio.Components.Pages;
|
||||||
|
|
||||||
public partial class Chat : ComponentBase
|
public partial class Chat : ComponentBase
|
||||||
|
{
|
||||||
|
private async Task SendMessage()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user