[Custom Input Masks] How to change the prompt. Eg: "dd-mm-yyyy" to "dd-mm-aaaa"?
Forge component by Sara Gonçalves


I would like to know how to change the prompt, adapting to my language. For even using the Multilingual Locales feature, when setting the display change from "dd-mm-yyyy" to "dd-mm-yyyy", when I set the date, the text "yyyy" is fixed. The component does not interpret the change to the language.

How can I get around this request?

Thank you very much in advance!

Hi Edson,

Check out this comment, if this helps you. The post explains how to handle custom formats on page.




I think you'll need to change the placeholder in the advanced properties:

Take a look at the link below:

Try to place the code below, changing the format according the current locale. Maybe you'll need a auxiliar function to return that format.

{ "placeholder": "dd/mm/yyyy" }

Tell us if it helps.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.