Create Rapid Test Profile - Postal Code - Input field issues
See original GitHub issueAvoid duplicates
- Bug is not mentioned in the FAQ
- Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
- Bug is not already reported in another issue
Technical details
- Device name: Pixel 3a emulator
- Android version: 11
- App version: 2.2.1
Describe the bug
The input field “Postal Code” for the Rapid Test Profile
- does not display the prompt for the name of the field completely
- does not display the complete postal code during data entry
Steps to reproduce the issue
Locale is English (United Kingdom) Font size and display size: Default
- In CWA Start Screen, tap “NEXT STEPS”
- Tap Create Rapid Test Profile
- View form and note that the field for Postal Code entry shows truncated text e.g. “Postal…”
- Start entering the fictive 5-digit post code “12345”
- Note that only three complete digits are shown during the data entry. Also the prompt now only shows “Pos…”. If the font size is set to largest, then only “Po…” is shown.
Expected behavior
- With locale set to English (United Kingdom) the text “Postal Code” in Create Rapid Test Profile should be completely readable.
- During data entry of the Postal Code (assumed to be 5 digits for Germany) the whole 5 digits should be visible.
Possible Fix
- The complete hint text in TextInputLayout view
id/zip_code_input_layout
with stringrat_profile_create_zip_code_hint
should be visible, also when the locale is not German (where the string “PLZ” is shorter). - Increase the width of the view
id/zip_code_input_layout
Internal Tracking ID: EXPOSUREAPP-7318
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Corona-Warn-App version 2.2 enables creation of a rapid test ...
The Corona-Warn-App then creates a QR code based on the data, which users can present at testing points. Rapid test profile data Rapid...
Read more >How can I resolve problems with the Postcode box on my form?
You are talking about the address field on your contact form here correct? I tested this and it accepted my area code correctly...
Read more >How to Order Your Free At-Home Covid-19 Tests - WIRED
Hand reaching into box full of boxes of Covid19 rapid tests ... the issue by making sure your address is entered accurately using...
Read more >Postal-code targeting - Google Surveys Help
Target Surveys based on postal codes This will reveal a text entry field where you can enter one or more postal codes to...
Read more >Candidate Registration - USPS
If you have already completed a candidate profile and/or application for postal employment through this process, you must use the previously created profile...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MikeMcC399 Thanks for all your testing!
@vaubaehn
With font size set to Default, the hint and the postcode itself is displayed completely in v2.3.0-RC0.
During input the full 5 digits are displayed, however the hint becomes truncated during input. I think that is acceptable.
If the font size is set to Large, then the hint becomes truncated to “Postal C…” in English. If the font size is set to Largest, then the hint becomes truncated to “Postal…” in English.
In the UK it’s called “postcode” - all one word, which would save three characters if changed. (See https://www.royalmail.com/find-a-postcode). However the other non-German languages would also need to be shorted as well:
I think it is good enough in the release candidate for 2.3. It could of course be further optimized to show complete texts for all languages and all font sizes.