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

[ios_zip_validation] Validate zip #56

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

lailabecker
Copy link
Contributor

Copy link
Contributor

@tschuls tschuls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not agree to solve this logic in the iOS only part, since we have the same problem in Android as well. I will propose another solution.

@codeclimate
Copy link

codeclimate bot commented Apr 8, 2021

Code Climate has analyzed commit ce3aede and detected 0 issues on this pull request.

View more on Code Climate.

@tschuls tschuls self-requested a review April 8, 2021 15:48
@tschuls tschuls assigned lailabecker and unassigned tschuls Apr 8, 2021
Copy link
Contributor

@tschuls tschuls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nils-Becker my understanding of the problem is:

  • limiting the number of digits to 4
  • not allowing back navigation if there is no valid zip

-> I did Add the limitation of 4 digits to android as well, the second point I handled in the State and reused it on both platforms. Is it okay with you?

@lailabecker
Copy link
Contributor Author

I think there should be a way to cancel changing the zip code in the settings. Maybe we could have a "save" button in the upper right corner that is only enabled if the entry is valid and navigating back always discards your changes.

@sonarcloud
Copy link

sonarcloud bot commented Nov 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants