mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-11 16:29:06 +00:00
20 lines
635 B
Plaintext
20 lines
635 B
Plaintext
|
<MudStack Row="@true" AlignItems="AlignItems.Start">
|
||
|
<MudTextField
|
||
|
T="string"
|
||
|
ReadOnly="@true"
|
||
|
Label="@this.Label"
|
||
|
Text="@this.Value"
|
||
|
Variant="Variant.Outlined"
|
||
|
Margin="Margin.Dense"
|
||
|
Lines="3"
|
||
|
MaxLines="@this.MaxLines"
|
||
|
AutoGrow="@true"
|
||
|
UserAttributes="@USER_INPUT_ATTRIBUTES" />
|
||
|
|
||
|
@if (this.ShowingCopyButton)
|
||
|
{
|
||
|
<MudTooltip Text="@this.ClipboardTooltip">
|
||
|
<MudIconButton Icon="@Icons.Material.Filled.ContentCopy" Size="Size.Medium" OnClick="@(() => this.CopyToClipboard(this.Value))"/>
|
||
|
</MudTooltip>
|
||
|
}
|
||
|
</MudStack>
|