Added send button

This commit is contained in:
Thorsten Sommer 2024-04-22 19:59:55 +02:00
parent a8c35f4d07
commit c43019fbd4
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,7 @@
</div>
<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>
</MudPaper>
</div>

View File

@ -4,4 +4,7 @@ namespace AIStudio.Components.Pages;
public partial class Chat : ComponentBase
{
private async Task SendMessage()
{
}
}