-
Improvement
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
UI Framework 22, UI FW 1
-
5
Steps to reproduce the problem
- Giving info.magnolia.ui.field.TextFieldDefinition#getPlaceholder
- Provide no translation
- field.setPlaceholder(getDefinition().getPlaceholder())
Expected results
Placeholder is empty.
Actual results
Placeholder contains i18n key.
Workaround
String placeholder = getDefinition().getPlaceholder(); if (placeholder != null && !isMessageKey(placeholder)) { field.setPlaceholder(placeholder); }
- is causing
-
MAGNOLIA-7826 Description not shown on text field
- Closed
- is depended upon by
-
MGNLPER-132 CLONE - Use i18nText fallback parametr in SearchResultSupplierDefinition
- Closed
-
MGNLUI-5841 Use i18nText fallback parameter in SearchResultSupplierDefinition
- Closed
- relates to
-
MAGNOLIA-7866 I18nText fallback as I18n key
- Closed
- supersedes
-
MGNLUI-2207 Cleanup and reviewing overriding of label/description of dialogs & forms
- Closed
-
MAGNOLIA-5315 I18nizer: allow default values, optional, or default-to-blank texts
- Closed
- to be documented by
-
MAGNOLIA-7794 DOC: I18nText fallback parameter
- Closed