Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim leading/trailing whitespace/newlines when pasting verification codes during setup #585

Open
otech47 opened this issue Dec 11, 2024 · 4 comments

Comments

@otech47
Copy link
Collaborator

otech47 commented Dec 11, 2024

Would make the setup process more fool-proof

@kleysc
Copy link
Contributor

kleysc commented Dec 18, 2024

Hi @otech47, is anyone working on this issue? If not, I’d like to take it. My plan is to implement a hook to simplify input handling by automatically trimming inputs and improving reusability. Let me know if that works!

@otech47
Copy link
Collaborator Author

otech47 commented Dec 18, 2024

Hi @otech47, is anyone working on this issue? If not, I’d like to take it. My plan is to implement a hook to simplify input handling by automatically trimming inputs and improving reusability. Let me know if that works!

Go for it @kleyberthsantos 👍

@kleysc
Copy link
Contributor

kleysc commented Dec 18, 2024

WIP 👍

@kleysc
Copy link
Contributor

kleysc commented Dec 19, 2024

@otech47, just to confirm, I’ve submitted a pull request that resolves this issue. It implements a hook for trimming leading/trailing whitespaces and newlines. Please let me know if there’s any feedback or adjustments needed. Thanks!

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

No branches or pull requests

2 participants