mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 07:33:38 +00:00
16 lines
994 B
Plaintext
16 lines
994 B
Plaintext
@using AIStudio.Settings
|
|
@inherits MSGComponentBase
|
|
|
|
<MudStack Row="true" AlignItems="AlignItems.Baseline" StretchItems="StretchItems.Start" Class="mb-3" Wrap="Wrap.NoWrap">
|
|
<MudSelect T="string" MultiSelection="@true" Strict="@true" Disabled="@this.Disabled" SelectedValues="@this.ProfileIds" SelectedValuesChanged="@this.SelectionChanged" MultiSelectionTextFunc="@this.GetSelectionText" Adornment="Adornment.Start" AdornmentIcon="@Icons.Material.Filled.Person4" Margin="Margin.Dense" Label="@T("Select your profiles")" Variant="Variant.Outlined" Class="mb-3" Validation="@this.ValidateSelection">
|
|
@foreach (var profile in this.SettingsManager.ConfigurationData.Profiles)
|
|
{
|
|
<MudSelectItem T="string" Value="@profile.Id">
|
|
@profile.GetSafeName()
|
|
</MudSelectItem>
|
|
}
|
|
</MudSelect>
|
|
|
|
<MudIconButton Disabled="@this.Disabled" Icon="@Icons.Material.Filled.Settings" OnClick="() => this.OpenSettingsDialog()"/>
|
|
</MudStack>
|