question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create Rapid Test Profile - Postal Code - Input field issues

See original GitHub issue

Avoid 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

  1. In CWA Start Screen, tap “NEXT STEPS”
  2. Tap Create Rapid Test Profile
  3. View form and note that the field for Postal Code entry shows truncated text e.g. “Postal…”
  4. Start entering the fictive 5-digit post code “12345”
  5. 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.

image

image

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 string rat_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:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
vaubaehncommented, May 18, 2021

@MikeMcC399 Thanks for all your testing!

1reaction
MikeMcC399commented, May 18, 2021

@vaubaehn

Did you try the fix already in the emulator to see whether also the “Postal Code” hint is now displayed completely?

With font size set to Default, the hint and the postcode itself is displayed completely in v2.3.0-RC0.

image

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 case it’s still too small, could you recommend an abbreviation for zip code/postal code as a string in analogy to PLZ?

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:

image

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found