openfoodfacts/openfoodfacts-ios

Add examples in edit mode

teolemon opened this issue · 7 comments

Add examples in edit mode

  • Labels
  • Packaging
  • Brand

I guess you mean placeholders?

On Android we have both a placeholder and an example below.
Labels as a placeholder, and value exemple below the field.

Can you post an example?

OK. Are there already standard texts for these?

I more or less used the one from the web

<string name="hint_quantity">Examples: 2 l, 250 g, 1 kg, 25 cl, 6 fl oz, 1 pound</string>
<string name="hint_packaging">Examples: plastic, paper, glass</string>
<string name="brand_hint">Examples: Coca-Cola, Nestle, etc…</string>
<string name="hint_emb_codes">Examples: EMB 53062, FR 62.448.034 CE, 84 R 20, 33 RECOLTANT 522, FSSL 10013011001409</string>

I realize that the hint for labels is missing on the Android version.