File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
src/BootstrapBlazor.Server Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 6666 <PackageReference Include =" BootstrapBlazor.PdfViewer" Version =" 9.0.6" />
6767 <PackageReference Include =" BootstrapBlazor.Player" Version =" 9.0.2" />
6868 <PackageReference Include =" BootstrapBlazor.RDKit" Version =" 9.0.2" />
69- <PackageReference Include =" BootstrapBlazor.Region" Version =" 9.0.5 " />
69+ <PackageReference Include =" BootstrapBlazor.Region" Version =" 9.0.6 " />
7070 <PackageReference Include =" BootstrapBlazor.SignaturePad" Version =" 9.0.1" />
7171 <PackageReference Include =" BootstrapBlazor.SmilesDrawer" Version =" 9.0.2" />
7272 <PackageReference Include =" BootstrapBlazor.Sortable" Version =" 9.0.3" />
Original file line number Diff line number Diff line change 2626 <div class =" col-12 col-sm-6" >
2727 <BootstrapInputGroup >
2828 <BootstrapInputGroupLabel DisplayText =" IsMultiple" ></BootstrapInputGroupLabel >
29- <Switch @bind- Value =" @_isMultiple" ></Switch >
29+ <Switch Value =" @_isMultiple" OnValueChanged = " OnValueChagned " ></Switch >
3030 </BootstrapInputGroup >
3131 </div >
3232 <div class =" col-12 col-sm-6" >
Original file line number Diff line number Diff line change @@ -19,4 +19,12 @@ public partial class SelectCities
1919 private bool _isDisabled = false ;
2020
2121 private bool _autoClose = true ;
22+
23+ private Task OnValueChagned ( bool v )
24+ {
25+ _value = "" ;
26+ _isMultiple = v ;
27+ StateHasChanged ( ) ;
28+ return Task . CompletedTask ;
29+ }
2230}
You can’t perform that action at this time.
0 commit comments