Skip to main content
Inspiring
July 17, 2013
Answered

iOS Password Field Bug

  • July 17, 2013
  • 3 replies
  • 4596 views

I am writing this to possibly bring to some attention to a bug that has exsited throughout the duration of my time as an AIR developer (since AIR 3.2).... When publishing on iOS, textfields that have "displayAsPassword" do not behave correctly.

When giving focus to a textfield that is "displayAsPassword", things behave as expected... as I type I can see the *** beginning to appear .. The problem is when you focus out of the textfield... your password disappears... giving the indication it is blank... Though if you click the textfield again you will see it is in fact still there.

The biggest problem I have with this bug is that when you prepopulate a password field with a value (using some kind of save password option), the field is still blank, forcing someone to first click it to verify its actually filled out...

Is there any indication this will ever be fixed? I've only ever seen this http://forums.adobe.com/thread/969616 ... which basically says to make sure your font is embeded which is no duh... and no help.

This topic has been closed for replies.
Correct answer natural_criticB837

Alternative workaround: Switch font on the textfield in your .fla to use _serif or another font that is available by default. As it's only asteriks, it doesn't really matter what font you use.

3 replies

Participating Frequently
November 14, 2014

I can confirm that this is a bug in Adobe AIR 15 - if the fonts are embedded then the password dots do not appear when the password field loses focus.

Workaround - after the textfield loses focus  check to see if there is anything entered into it - if there is set embedFonts = false; 

Participating Frequently
November 17, 2014

Thanks for reporting the issue.

We are able to reproduce it and currently investigating it

-Pravendra

natural_criticB837
natural_criticB837Correct answer
Legend
November 17, 2014

Alternative workaround: Switch font on the textfield in your .fla to use _serif or another font that is available by default. As it's only asteriks, it doesn't really matter what font you use.

Participating Frequently
September 29, 2014

Issue still occurs. iPad iOS 8.0, AIR 3.9

When you loose focus from the textfield and bullets/asterisks disappear, try not specifying any font on that filed and setting embedFont = false. This worked for me and bullets are still visible (iOS issue).

When you type into a textfield and bullets are not visible at all and u use an embedded font, try embedding these characters: U+2219, U+2022, U+2217, U+204E, U+002A. Some character from these solved invisible bullets during typing on Android for me.

Adobe Employee
July 18, 2013

Hi,

I just tried it with the latest AIR 3.8 build available at http://labs.adobe.com/downloads/air.html on iPod(v6.1.3)and it's working fine. I used two textField, one for username and one for password. Could you please give it a try and share the results.

Regards,

Nimit

Inspiring
July 18, 2013

I will be willing to try this if you can confirm prior to using AIR 3.8 it was NOT working for you. Also can you confirm you are not using a system font and a custom font?

Adobe Employee
July 18, 2013

I have not tried on any other AIR SDK as one should always try with latest sdk. Anyways, could you please share your AIR SDK version so that I will give it a try and post back soon.

Regards,

Nimit