We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5eebaa commit f8c51e1Copy full SHA for f8c51e1
src/BootstrapBlazor/Components/Dropdown/Dropdown.razor.cs
@@ -229,7 +229,7 @@ protected override void OnParametersSet()
229
Items = typeof(TValue).ToSelectList();
230
}
231
232
- DataSource = Items.ToList();
+ DataSource = [.. Items];
233
234
SelectedItem = DataSource.Find(i => i.Value.Equals(CurrentValueAsString, StringComparison.OrdinalIgnoreCase))
235
?? DataSource.Find(i => i.Active)
0 commit comments