Skip to content

Commit e79aede

Browse files
authored
fix(EditorForm): GroupName not work (#7568)
* fix(EditorForm): GroupName not work * chore: bump version 10.2.3-beta02
1 parent 89be637 commit e79aede

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>10.2.3-beta01</Version>
4+
<Version>10.2.3-beta02</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/EditorForm/EditorForm.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public partial class EditorForm<TModel> : IShowLabel, IDisposable
217217

218218
private IEnumerable<KeyValuePair<string, IOrderedEnumerable<IEditorItem>>> GroupItems => RenderItems
219219
.Where(i => !string.IsNullOrEmpty(i.GroupName) && i.IsVisible(ItemChangedType, IsSearch.Value))
220-
.GroupBy(i => i.GroupOrder).OrderBy(i => i.Key)
220+
.GroupBy(i => i.GroupName).OrderBy(i => i.Key)
221221
.Select(i => new KeyValuePair<string, IOrderedEnumerable<IEditorItem>>(i.First().GroupName!, i.OrderBy(x => x.Order)));
222222

223223
private List<IEditorItem>? _itemsCache;

0 commit comments

Comments
 (0)