mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2025-12-06 07:28:50 +08:00
fix(NullSwitch): prevent trigger OnValueChagned first render (#7226)
* fix(Switch): remove assign value * doc: update encode * chore: bump version 10.1.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>10.0.2-beta01</Version>
|
||||
<Version>10.1.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the Apache 2.0 License
|
||||
// See the LICENSE file in the project root for more information.
|
||||
// Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone
|
||||
@@ -127,7 +127,6 @@ public partial class NullSwitch
|
||||
|
||||
OnInnerText ??= Localizer[nameof(OnInnerText)];
|
||||
OffInnerText ??= Localizer[nameof(OffInnerText)];
|
||||
CurrentValue ??= DefaultValueWhenNull;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user