diff --git a/android/modules/ui/src/java/ti/modules/titanium/ui/TextAreaProxy.java b/android/modules/ui/src/java/ti/modules/titanium/ui/TextAreaProxy.java index 0f3368ece5c..1661afb3a4d 100644 --- a/android/modules/ui/src/java/ti/modules/titanium/ui/TextAreaProxy.java +++ b/android/modules/ui/src/java/ti/modules/titanium/ui/TextAreaProxy.java @@ -32,6 +32,7 @@ TiC.PROPERTY_ENABLE_RETURN_KEY, TiC.PROPERTY_FONT, TiC.PROPERTY_FULLSCREEN, + TiC.PROPERTY_HINT_TEXT_ID, TiC.PROPERTY_HINT_TEXT, TiC.PROPERTY_HINT_TEXT_COLOR, TiC.PROPERTY_HINT_TYPE, @@ -61,6 +62,14 @@ public TextAreaProxy() defaultValues.put(TiC.PROPERTY_HINT_TYPE, UIModule.HINT_TYPE_STATIC); } + @Override + protected KrollDict getLangConversionTable() + { + KrollDict table = new KrollDict(); + table.put(TiC.PROPERTY_HINT_TEXT, TiC.PROPERTY_HINT_TEXT_ID); + return table; + } + @Override public void handleCreationArgs(KrollModule createdInModule, Object[] args) { diff --git a/apidoc/Titanium/UI/TextArea.yml b/apidoc/Titanium/UI/TextArea.yml index 722cd6e5d91..99b1c9177cb 100644 --- a/apidoc/Titanium/UI/TextArea.yml +++ b/apidoc/Titanium/UI/TextArea.yml @@ -300,6 +300,14 @@ properties: default: No hint text. platforms: [android] + - name: hinttextid + summary: | + Key identifying a string from the locale file to use for the + [hintText](Titanium.UI.TextArea.hintText) property. + description: Only one of `hintText` or `hinttextid` should be specified. + type: String + since: "6.2.0" + - name: hintTextColor summary: Color of hint text that displays when field is empty. platforms: [android]