Skip to content

Commit 5330d41

Browse files
committed
doc: 增加示例
1 parent f7c49ff commit 5330d41

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@
3131

3232
<DemoBlock Title="@Localizer["BaseUsageText"]" Introduction="@Localizer["IntroText1"]" Name="Normal">
3333
<QRCode Content="@_content" Width="190" class="mb-3"></QRCode>
34-
<OtpInput Value="@_code" class="text-center mb-3"></OtpInput>
34+
<OtpInput Value="@_code" IsReadonly="true" class="text-center mb-3"></OtpInput>
35+
<OtpInput Value="" IsReadonly="true" class="text-center mb-3"></OtpInput>
36+
<OtpInput Value="@_code" IsReadonly="false" class="text-center mb-3"></OtpInput>
37+
<OtpInput Value="" IsReadonly="false" class="text-center mb-3"></OtpInput>
38+
<OtpInput Value="" IsReadonly="false" Type="OtpInputType.Text" class="text-center mb-3"></OtpInput>
3539
<div class="position-relative">
3640
<BootstrapBlazor.Components.Progress Value="@_progress" IsShowValue="false"></BootstrapBlazor.Components.Progress>
3741
<span class="opt-progress-label">@_remain</span>

0 commit comments

Comments
 (0)