Skip to content

Commit 637b64c

Browse files
committed
Update version and improve MudSelectList value check
Updated project version to 2026.03.12.2310. Changed MudSelectList.razor to use EqualityComparer<T>.Default.Equals for value comparison, ensuring correct behavior for both reference and value types when determining if a value is selected.
1 parent 1e2b94b commit 637b64c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BLAZAM/BLAZAM.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<ServerGarbageCollection>false</ServerGarbageCollection>
88
<AssemblyVersion>1.5.2</AssemblyVersion>
9-
<Version>2026.03.11.2311</Version>
9+
<Version>2026.03.12.2310</Version>
1010
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
1111
<RootNamespace>BLAZAM</RootNamespace>
1212
<GenerateDocumentationFile>True</GenerateDocumentationFile>

BLAZAMGui/UI/Inputs/MudSelectList.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<ActivatorContent>
2323
<MudField Disabled="@Disabled" Label="@Label" @onclick="@(() => context.ToggleAsync())" >
2424
<MudStack Row=true>
25-
@if (Selected.Count() > 0 || Value != null)
25+
@if (Selected.Count() > 0 || !EqualityComparer<T>.Default.Equals(Value, default(T)))
2626
{
2727
<MudText>
2828
@Text

0 commit comments

Comments
 (0)