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 52ad5b8 commit 8bec079Copy full SHA for 8bec079
src/BootstrapBlazor/Components/Select/Select.razor.cs
@@ -294,7 +294,7 @@ private SelectedItem? SelectedRow
294
295
private SelectedItem? GetSelectedRow()
296
{
297
- var item = GetItemWidthEnumValue()
+ var item = GetItemWithEnumValue()
298
?? Rows.Find(i => i.Value == CurrentValueAsString)
299
?? Rows.Find(i => i.Active)
300
?? Rows.FirstOrDefault(i => !i.IsDisabled)
@@ -315,7 +315,7 @@ private SelectedItem? SelectedRow
315
return item;
316
}
317
318
- private SelectedItem? GetItemWidthEnumValue() => ValueType.IsEnum
+ private SelectedItem? GetItemWithEnumValue() => ValueType.IsEnum
319
? Rows.Find(i => i.Value == Convert.ToInt32(Value).ToString())
320
: null;
321
0 commit comments