Commit graph

4 commits

Author SHA1 Message Date
Shuhari
a2628edceb fix: improve paste support for PIN code input fields
- Add support for pasting multi-digit verification codes
- Filter pasted content to alphanumeric characters only
- Always start filling from the first field when pasting
- Optimize performance by updating all fields at once
- Support both numeric and alphanumeric codes (e.g., 123456, A1B2C3)

Fixes the issue where pasting a 6-digit code like '123456' would only
show the last digit '6' in the first field. Now all digits are correctly
distributed across all input fields.

This improvement benefits both SignInSMSView and SignIn2FAView since they
share the same PinCodeTextField component.
2025-11-12 15:28:03 +08:00
Kyle
fc35950885
Add PinCodeTextField autocomplete support 2023-06-20 18:04:31 +08:00
Chad Sykes
cce80ae012 Simple fix to ensure all characters are shown without clipping... while I could try to figure a more robust solution but it feels like there are bigger fish to fry 2020-12-26 16:02:35 -07:00
Brandon Evans
34adfb73a2
Reorganize files a bit 2020-12-22 21:01:33 -07:00
Renamed from Xcodes/SignIn/PinCodeTextView.swift (Browse further)