mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-20 19:12:15 +00:00
11 lines
384 B
Plaintext
11 lines
384 B
Plaintext
@inherits MSGComponentBase
|
|
<MudButton StartIcon="@Icons.Material.Filled.Description" OnClick="@(async () => await this.SelectFile())" Variant="Variant.Filled" Class="mb-3" Disabled="@(this.Disabled || this.isSelectingFile)">
|
|
@if (string.IsNullOrWhiteSpace(this.Text))
|
|
{
|
|
@T("Use file content as input")
|
|
}
|
|
else
|
|
{
|
|
@this.Text
|
|
}
|
|
</MudButton> |