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 <trapezoid.g@gmail.com>

* chore: bump version 10.1.1

---------

Signed-off-by: trapezoid <trapezoid.g@gmail.com>
Co-authored-by: Argo Zhang <argo@live.ca>
This commit is contained in:
trapezoid
2025-12-04 12:30:19 +09:00
committed by GitHub
parent 292ceeb802
commit 5076c5d403
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<Version>10.1.1-beta01</Version>
<Version>10.1.1</Version>
</PropertyGroup>
<ItemGroup>

View File

@@ -33,7 +33,7 @@ export function init(id, invoke, method) {
e.preventDefault();
}
}
else if ("abcdefghijklmnopqrstuvwxyzABCDEDFHIJKLMNOPQRSTUVWXYZ0123456789".indexOf(e.key) > -1) {
else if ("abcdefghijklmnopqrstuvwxyzABCDEDFGHIJKLMNOPQRSTUVWXYZ0123456789".indexOf(e.key) > -1) {
setNextFocus(el, e.target);
}
else {