We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a4b0e commit ac46617Copy full SHA for ac46617
src/BootstrapBlazor.Server/Components/Samples/Regions.razor
@@ -8,5 +8,7 @@
8
<DemoBlock Title="@Localizer["RegionNormalTitle"]"
9
Introduction="@Localizer["RegionNormalIntro"]"
10
Name="Normal">
11
- <Region></Region>
+ <SelectRegion @bind-Value="Value"></SelectRegion>
12
+ <Display Value="@Value"></Display>
13
+ <Button OnClick="OnClick" Text="Update"></Button>
14
</DemoBlock>
src/BootstrapBlazor.Server/Components/Samples/Regions.razor.cs
@@ -10,5 +10,10 @@ namespace BootstrapBlazor.Server.Components.Samples;
/// </summary>
public partial class Regions
{
+ private string Value = "";
15
+ private void OnClick()
16
+ {
17
+ Value = "四川省-自贡市-大安区-团结镇";
18
+ }
19
}
0 commit comments