mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 14:22:55 +00:00
20 lines
781 B
Plaintext
20 lines
781 B
Plaintext
@inherits MSGComponentBase
|
|
<MudStack Row="true" AlignItems="AlignItems.Center" Class="@this.Class" StretchItems="StretchItems.Start" Wrap="Wrap.NoWrap">
|
|
<MudTextField
|
|
T="string"
|
|
Text="@this.Secret"
|
|
TextChanged="@this.OnSecretChanged"
|
|
Label="@this.Label"
|
|
Placeholder="@this.Placeholder"
|
|
Adornment="Adornment.Start"
|
|
AdornmentIcon="@Icons.Material.Filled.VpnKey"
|
|
AdornmentColor="Color.Info"
|
|
InputType="@this.InputType"
|
|
Immediate="true"
|
|
Validation="@this.Validation"
|
|
UserAttributes="@SPELLCHECK_ATTRIBUTES"/>
|
|
|
|
<MudTooltip Text="@this.ToggleVisibilityTooltip">
|
|
<MudIconButton Icon="@this.InputTypeIcon" OnClick="() => this.ToggleVisibility()"/>
|
|
</MudTooltip>
|
|
</MudStack> |