[Multilingual Mobile Component] Change prompt property on input text

[Multilingual Mobile Component] Change prompt property on input text

  
Forge Component
(11)
Published on 4 Oct by OutSystems R&D
11 votes
Published on 4 Oct by OutSystems R&D

Hello,

How do I do to change the property "prompt" (hint) of text input using the Multilingual Mobile Component?

Thank you!!

Solution

Hi,

Sorry for the late reply. The Prompt property is an expression, so you can translate it using the GetTranslation client action.


E.g., if the Prompt's value is "Title" and you want to be able to translate it, replace the value by something like:

GetTranslation(Key:"ccafb808-eb6b-4f3e-8a7e-5e08be7c300d", DefaultValue:"Title")

and then add the translation as usual.


Hope this helps!

Solution

Hugo Lourenço wrote:

Hi,

Sorry for the late reply. The Prompt property is an expression, so you can translate it using the GetTranslation client action.


E.g., if the Prompt's value is "Title" and you want to be able to translate it, replace the value by something like:

GetTranslation(Key:"ccafb808-eb6b-4f3e-8a7e-5e08be7c300d", DefaultValue:"Title")

and then add the translation as usual.


Hope this helps!

Helped a lot Hugo, worked fine!

Thank you!!!!