Skip to content

fix(wallet): allow pasting 6-digit code in wallet create flow#91

Merged
JamesLawton merged 1 commit intomainfrom
fix/wallet-code-paste-support
Apr 16, 2026
Merged

fix(wallet): allow pasting 6-digit code in wallet create flow#91
JamesLawton merged 1 commit intomainfrom
fix/wallet-code-paste-support

Conversation

@JamesLawton
Copy link
Copy Markdown
Collaborator

Ink's useInput regex /^\d$/ silently dropped multi-character paste input. Changed to /^\d+$/ and cap with .slice(0, 6) so pasting a code works.

Entire-Checkpoint: 67fc57728c3f

Ink's useInput regex /^\d$/ silently dropped multi-character paste input.
Changed to /^\d+$/ and cap with .slice(0, 6) so pasting a code works.

Entire-Checkpoint: 67fc57728c3f
@JamesLawton JamesLawton merged commit 74dfa21 into main Apr 16, 2026
4 checks passed
@JamesLawton JamesLawton deleted the fix/wallet-code-paste-support branch April 16, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant