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 ac1d596 commit 913aecfCopy full SHA for 913aecf
1 file changed
src/BootstrapBlazor/Components/Select/Select.razor.cs
@@ -1,4 +1,4 @@
1
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
2
// The .NET Foundation licenses this file to you under the Apache 2.0 License
3
// See the LICENSE file in the project root for more information.
4
// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
@@ -500,7 +500,7 @@ private async Task OnChange(ChangeEventArgs args)
500
var item = GetItemWithEnumValue()
501
?? Rows.Find(i => i.Value == CurrentValueAsString)
502
?? Rows.Find(i => i.Active)
503
- ?? Rows.FirstOrDefault(i => !i.IsDisabled);
+ ?? Rows.Find(i => !i.IsDisabled);
504
return item;
505
}
506
0 commit comments