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

error when name ends with a space #19

Open
AbdelftahZowail opened this issue Nov 7, 2023 · 1 comment
Open

error when name ends with a space #19

AbdelftahZowail opened this issue Nov 7, 2023 · 1 comment

Comments

@AbdelftahZowail
Copy link

change var parts = name.split(' '); to var parts = name.trim().split(' '); would solve it
in input_text.dart

@yacoublambaz
Copy link

This doesn't only happen when name ends in space. It happens when there's leading, trailing, or consecutive whitespace.

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