Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Pawal Adhikari
Password Placeholder not working on Firefox while using <aui:form>
12 de Abril de 2013 01:09
Resposta

Pawal Adhikari

Ranking: New Member

Mensagens: 18

Data de entrada: 6 de Março de 2013

Mensagens recentes

I have encountered a strange problem while using placeholder. Password Placeholder works just fine in chrome but in firefox it shows '*****' instead of intended plain text which i used in placeholder.

1   <aui:input placeholder="Password" name="password" showRequiredLabel="<%= false %>" type="password" autocomplete="off"/>


Strange thing is firefox do support placeholder and when used outside of <aui:form> it's working just fine. Moreover, when used in simple html form tag it's working fine.

What am i doing wrong? I just don't want to switch to simple html form as i am using aui validation.

Moreover, at first dot appears in the password field of same length as placeholder but when it is clicked the placeholder appears.
Subhash Pavuskar
RE: Password Placeholder not working on Firefox while using <aui:form>
12 de Abril de 2013 02:00
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

Hi Pawan ,
Which version Firefox you are using ?
Pawal Adhikari
RE: Password Placeholder not working on Firefox while using <aui:form>
12 de Abril de 2013 02:51
Resposta

Pawal Adhikari

Ranking: New Member

Mensagens: 18

Data de entrada: 6 de Março de 2013

Mensagens recentes

18.0.1 and i am pretty sure that it is compatible, http://caniuse.com/input-placeholder . And, i just found that it's not only password placeholder issue but too of text field.
Subhash Pavuskar
RE: Password Placeholder not working on Firefox while using <aui:form>
12 de Abril de 2013 04:11
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

hi,
I tested your code its working fine on my Firefox browser and i am using Ver 21.0 !!
Pawal Adhikari
RE: Password Placeholder not working on Firefox while using <aui:form>
12 de Abril de 2013 18:35
Resposta

Pawal Adhikari

Ranking: New Member

Mensagens: 18

Data de entrada: 6 de Março de 2013

Mensagens recentes

hi,
It's working just fine in firefox but issue appears when i use it inside <aui:form>.
Using outside of form or in simple html form doesn't show any problem.
Raffael Tregilgas
RE: Password Placeholder not working on Firefox while using <aui:form>
22 de Abril de 2013 07:56
Resposta

Raffael Tregilgas

Ranking: New Member

Mensagens: 7

Data de entrada: 23 de Abril de 2012

Mensagens recentes

hi
did you have any luck finding a solution for this problem? have the same thing in ff 20.0.1 and its not working
Pawal Adhikari
RE: Password Placeholder not working on Firefox while using <aui:form>
8 de Maio de 2013 02:32
Resposta

Pawal Adhikari

Ranking: New Member

Mensagens: 18

Data de entrada: 6 de Março de 2013

Mensagens recentes

nope