mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-30 03:51:39 +00:00
28 lines
917 B
Plaintext
28 lines
917 B
Plaintext
@using AIStudio.Tools.PluginSystem.Assistants.DataModel
|
|
<MudStack Row="true" Class='@this.MergeClasses(this.Class, "mb-3")' Style="@this.Style">
|
|
<MudSelect
|
|
T="string"
|
|
Value="@this.Value"
|
|
ValueChanged="@(val => this.OnValueChanged(val))"
|
|
Label="@this.Label"
|
|
HelperText="@this.HelperText"
|
|
Placeholder="@this.Default.Value"
|
|
OpenIcon="@this.OpenIcon"
|
|
CloseIcon="@this.CloseIcon"
|
|
Adornment="@this.IconPosition"
|
|
AdornmentColor="@this.IconColor"
|
|
Variant="@this.Variant"
|
|
Margin="Margin.Normal"
|
|
MultiSelection="@this.IsMultiselect"
|
|
SelectAll="@this.HasSelectAll"
|
|
SelectAllText="@this.SelectAllText"
|
|
>
|
|
@foreach (var item in Items)
|
|
{
|
|
<MudSelectItem Value="@item.Value">
|
|
@item.Display
|
|
</MudSelectItem>
|
|
}
|
|
</MudSelect>
|
|
</MudStack>
|