mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-28 01:42:57 +00:00
14 lines
661 B
Plaintext
14 lines
661 B
Plaintext
@inherits ConfigurationBase
|
|
@typeparam T
|
|
|
|
<MudTooltip Text="Disabled by a plugin" Disabled="@(!this.LockedByPlugin())" Arrow="true" Placement="Placement.Top">
|
|
<MudSelect T="T" Value="@this.SelectedValue()" Strict="@true" ShrinkLabel="@true" Disabled="@(this.Disabled() || this.LockedByPlugin())" Margin="Margin.Dense" Label="@this.OptionDescription" Class="@GetClass" Variant="Variant.Outlined" HelperText="@this.OptionHelp" ValueChanged="@this.OptionChanged">
|
|
@foreach (var data in this.Data)
|
|
{
|
|
<MudSelectItem Value="@data.Value">
|
|
@data.Name
|
|
</MudSelectItem>
|
|
}
|
|
</MudSelect>
|
|
</MudTooltip>
|