Skip to content

Commit 5076c5d

Browse files
trapezoidArgoZhang
andauthored
fix(OtpInput): typo in character validation for OtpInput (#7240)
* Fix typo in character validation for OtpInput The letter 'G' is missing, meaning it is not possible to input only 'G' in OtpInput. Signed-off-by: trapezoid <[email protected]> * chore: bump version 10.1.1 --------- Signed-off-by: trapezoid <[email protected]> Co-authored-by: Argo Zhang <[email protected]>
1 parent 292ceeb commit 5076c5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BootstrapBlazor/BootstrapBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>10.1.1-beta01</Version>
4+
<Version>10.1.1</Version>
55
</PropertyGroup>
66

77
<ItemGroup>

src/BootstrapBlazor/Components/Input/OtpInput.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function init(id, invoke, method) {
3333
e.preventDefault();
3434
}
3535
}
36-
else if ("abcdefghijklmnopqrstuvwxyzABCDEDFHIJKLMNOPQRSTUVWXYZ0123456789".indexOf(e.key) > -1) {
36+
else if ("abcdefghijklmnopqrstuvwxyzABCDEDFGHIJKLMNOPQRSTUVWXYZ0123456789".indexOf(e.key) > -1) {
3737
setNextFocus(el, e.target);
3838
}
3939
else {

0 commit comments

Comments
 (0)