Skip to content

Commit 0c501c6

Browse files
committed
doc: 更新示例
1 parent 5878634 commit 0c501c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapBlazor.Server/Components/Samples/InputGroups.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@
113113
<ValidateForm Model="@Model">
114114
<div class="@GroupFormClassString">
115115
<div class="col-12 col-sm-6">
116-
<BootstrapInputGroupLabel @bind-Value="@Model.Name" required="true" />
116+
<BootstrapInputGroupLabel @bind-Value="@Model.Name" ShowRequiredMark="true" />
117117
<BootstrapInputGroup>
118118
<Display @bind-Value="@Model.Name"></Display>
119119
<BootstrapInputGroupLabel @bind-Value="@Model.Name" />
120120
</BootstrapInputGroup>
121121
</div>
122122
<div class="col-12 col-sm-6">
123-
<BootstrapInputGroupLabel @bind-Value="@Model.Address" required="true" />
123+
<BootstrapInputGroupLabel @bind-Value="@Model.Address" ShowRequiredMark="true" />
124124
<BootstrapInputGroup>
125125
<Display @bind-Value="@Model.Address"></Display>
126126
<BootstrapInputGroupLabel @bind-Value="@Model.Address" />

0 commit comments

Comments
 (0)