File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
src/BootstrapBlazor.Server/Components/Samples Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 55
66<h4 >@Localizer ["RegionDescription"]</h4 >
77
8+ <PackageTips Name =" BootstrapBlazor.Region" />
9+
810<DemoBlock Title =" @Localizer[" RegionNormalTitle " ]"
911 Introduction =" @Localizer[" RegionNormalIntro " ]"
1012 Name =" Normal" >
11- <SelectRegion @bind-Value =" Value" ></SelectRegion >
12- <Display Value =" @Value" ></Display >
13- <Button OnClick =" OnClick" Text =" Update" ></Button >
13+ <SelectRegion Value =" @_value" ></SelectRegion >
1414</DemoBlock >
Original file line number Diff line number Diff line change @@ -10,10 +10,5 @@ namespace BootstrapBlazor.Server.Components.Samples;
1010/// </summary>
1111public partial class Regions
1212{
13- private string Value = "" ;
14-
15- private void OnClick ( )
16- {
17- Value = "四川省-自贡市-大安区-团结镇" ;
18- }
13+ private string _value = "" ;
1914}
You can’t perform that action at this time.
0 commit comments