Skip to content

Commit cabdbf9

Browse files
committed
doc: 更新示例
1 parent e70395e commit cabdbf9

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

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

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -412,22 +412,23 @@
412412
<DemoBlock Title="@Localizer["SelectsVirtualizeTitle"]"
413413
Introduction="@Localizer["SelectsVirtualizeIntro"]"
414414
Name="IsVirtualize">
415-
<section ignore>@((MarkupString)Localizer["SelectsVirtualizeDescription"].Value)</section>
416-
417-
<div class="row mb-3">
418-
<div class="col-12 col-sm-6">
419-
<BootstrapInputGroup>
420-
<BootstrapInputGroupLabel DisplayText="ShowSearch" />
421-
<Checkbox @bind-Value="@_showSearch" />
422-
</BootstrapInputGroup>
423-
</div>
424-
<div class="col-12 col-sm-6">
425-
<BootstrapInputGroup>
426-
<BootstrapInputGroupLabel DisplayText="IsClearable" />
427-
<Checkbox @bind-Value="@_isClearable" />
428-
</BootstrapInputGroup>
415+
<section ignore>
416+
<p>@((MarkupString)Localizer["SelectsVirtualizeDescription"].Value)</p>
417+
<div class="row mb-3">
418+
<div class="col-12 col-sm-6">
419+
<BootstrapInputGroup>
420+
<BootstrapInputGroupLabel DisplayText="ShowSearch" />
421+
<Checkbox @bind-Value="@_showSearch" />
422+
</BootstrapInputGroup>
423+
</div>
424+
<div class="col-12 col-sm-6">
425+
<BootstrapInputGroup>
426+
<BootstrapInputGroupLabel DisplayText="IsClearable" />
427+
<Checkbox @bind-Value="@_isClearable" />
428+
</BootstrapInputGroup>
429+
</div>
429430
</div>
430-
</div>
431+
</section>
431432

432433
<p class="code-label">1. 使用 OnQueryAsync 作为数据源</p>
433434
<div class="row mb-3">

0 commit comments

Comments
 (0)