mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 01:07:21 +00:00
Upgraded to MudBlazor 9 (#1137)
This commit is contained in:
1 parent
e0337a99bc
commit
aeba1fbccc
625 files changed
+408
-882
No files matched your search
@@ -62,8 +62,9 @@ namespace AIStudio.Components
|
||||
[Parameter]
|
||||
public string Style { get; set; } = string.Empty;
|
||||
|
||||
private async Task OnValueChanged(string newValue)
|
||||
private async Task OnValueChanged(string? changedValue)
|
||||
{
|
||||
var newValue = changedValue ?? string.Empty;
|
||||
if (this.Value != newValue)
|
||||
{
|
||||
this.Value = newValue;
|
||||
@@ -97,7 +98,7 @@ namespace AIStudio.Components
|
||||
return [this.Default, .. items];
|
||||
}
|
||||
|
||||
private string GetMultiSelectionText(List<string?>? selectedValues)
|
||||
private string GetMultiSelectionText(IReadOnlyList<string?>? selectedValues)
|
||||
{
|
||||
if (selectedValues is null || selectedValues.Count == 0)
|
||||
return this.Default.Display;
|
||||
|
||||
Reference in new issue
Block a user