Skip to content

Commit 669ac78

Browse files
committed
doc: 增加示例
1 parent 0cf0cd3 commit 669ac78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
<DemoBlock Title="@Localizer["BaseUsageText"]" Introduction="@Localizer["IntroText1"]" Name="Normal">
3333
<QRCode Content="@_content" Width="190" class="mb-3"></QRCode>
3434
<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>
35+
<OtpInput Value="" IsDisabled="true" class="text-center mb-3"></OtpInput>
36+
<OtpInput Value="@_code" Type="OtpInputType.Password" class="text-center mb-3"></OtpInput>
37+
<OtpInput Value="123" class="text-center mb-3"></OtpInput>
38+
<OtpInput Value="" Type="OtpInputType.Text" class="text-center mb-3"></OtpInput>
3939
<div class="position-relative">
4040
<BootstrapBlazor.Components.Progress Value="@_progress" IsShowValue="false"></BootstrapBlazor.Components.Progress>
4141
<span class="opt-progress-label">@_remain</span>

0 commit comments

Comments
 (0)