Skip to main content
Inspiring
Jul 17, 2013 8:09 PM UTC
Answered

iOS Password Field Bug

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 is closed to new replies. Start a new post to keep the conversation going.
natural_criticB837
natural_criticB837Correct answer
Legend
Nov 17, 2014 1:45 PM UTC

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.

14 replies

Participating Frequently
Nov 14, 2014 3:58 PM UTC

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; 

Translate
Participating Frequently
Nov 17, 2014 7:56 AM UTC

Thanks for reporting the issue.

We are able to reproduce it and currently investigating it

-Pravendra

Translate
natural_criticB837
natural_criticB837Correct answer
Legend
Nov 17, 2014 1:45 PM UTC

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.

Translate
Participating Frequently
Sep 29, 2014 1:44 PM UTC

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.

Translate
Adobe Employee
Jul 18, 2013 5:58 AM UTC

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

Translate
Inspiring
Jul 18, 2013 2:15 PM UTC

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?

Translate
Adobe Employee
Jul 18, 2013 3:26 PM UTC

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

Translate