Fórum

How to force a localized <aui:input> field to use current locale

thumbnail
Adam Victor Nazareth Brandizzi, modificado 12 Anos atrás.

How to force a localized <aui:input> field to use current locale

Junior Member Postagens: 67 Data de Entrada: 30/04/10 Postagens Recentes
Hello, all!

I have a form with an <aui:input> field which receives localized data. What bothers me is that the default locale for the input is not affected by the current language. Consider the image below:



There, I have a page in Portuguese, but the input expects to receive an English value by default. How could I make it expect Portuguese by default?

The best solution would be to make the input consider the current locale. However, it it would be good enough to force the input to use some arbitrary hard-coded locale.

Thanks in advance!