Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
7.3.2 aui input for email/password chrome cache and disable field issue
Hello Everyone,I face the issue in aui input field with disable the input field and showing saving user name and password from chrome. However the issue is not happen in Firefox browser. I clear the cache from chrome but still issue is there. But while i clear all saving password from chrome then it is working fine. Following is my code. Can someone please suggest how to solve it.
<aui:col width="50">
<aui:input label="teacher.emailaddress" disabled="${disabledInput }" name="emailAddress" type="text" >
<aui:validator name="required"/>
<aui:validator name="email"/>
</aui:input>
</aui:col>
<aui:row>
<aui:col width="50">
<aui:input name="password1" id="password1" label="teacher.password1" type="password">
<aui:validator name="required" />
<aui:validator name="maxLength">20</aui:validator>
<aui:validator name="minLength">6</aui:validator>
</aui:input>
</aui:col>
<aui:col width="50">
<aui:input name="password2" id="password2" label="teacher.password2" type="password">
<aui:validator name="required" />
<aui:validator name="equalTo" errorMessage="errmsg.password.notsame" >'#<portlet:namespace />password1'</aui:validator>
</aui:input>
</aui:col>
</aui:row>
<aui:col width="50">
<aui:input label="teacher.emailaddress" disabled="${disabledInput }" name="emailAddress" type="text" >
<aui:validator name="required"/>
<aui:validator name="email"/>
</aui:input>
</aui:col>
<aui:row>
<aui:col width="50">
<aui:input name="password1" id="password1" label="teacher.password1" type="password">
<aui:validator name="required" />
<aui:validator name="maxLength">20</aui:validator>
<aui:validator name="minLength">6</aui:validator>
</aui:input>
</aui:col>
<aui:col width="50">
<aui:input name="password2" id="password2" label="teacher.password2" type="password">
<aui:validator name="required" />
<aui:validator name="equalTo" errorMessage="errmsg.password.notsame" >'#<portlet:namespace />password1'</aui:validator>
</aui:input>
</aui:col>
</aui:row>
Attachments:
Can some one please suggest? Thank you
Hi, Have you tried adding
autocomplete="off"
in your form tag