File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <PropertyGroup >
4- <Version >9.0.0-rc.2.11.5.1 </Version >
4+ <Version >9.0.0-rc.2.11.6.0 </Version >
55 </PropertyGroup >
66
77 <ItemGroup >
Original file line number Diff line number Diff line change @@ -187,7 +187,11 @@ private async Task OnToggleClick()
187187 {
188188 if ( ! IsDisabled )
189189 {
190- await InternalStateChanged ( State == CheckboxState . Checked ? CheckboxState . UnChecked : CheckboxState . Checked ) ;
190+ var render = await InternalStateChanged ( State == CheckboxState . Checked ? CheckboxState . UnChecked : CheckboxState . Checked ) ;
191+ if ( render )
192+ {
193+ StateHasChanged ( ) ;
194+ }
191195 }
192196 }
193197
@@ -201,7 +205,6 @@ private async Task OnToggleClick()
201205 private async Task < bool > InternalStateChanged ( CheckboxState state )
202206 {
203207 var ret = true ;
204-
205208 _paddingStateChanged = true ;
206209
207210 if ( IsBoolean )
@@ -223,7 +226,6 @@ private async Task<bool> InternalStateChanged(CheckboxState state)
223226 await OnStateChanged ( State , Value ) ;
224227 }
225228 }
226-
227229 return ret ;
228230 }
229231
You can’t perform that action at this time.
0 commit comments