221
Views
8
Comments
Solved
[OutSystems UI] iOS auto inputting password
Question
outsystems-ui
Reactive icon
Forge asset by OutSystems

Hello,

When I input username and password into default mobile Login screen by using auto inputting function of iOS, my application rejects the username and password.
But after I add a character to password and delete the character, my Login attempt succeeds.
It seems that the Password field can not notice the auto inputting by iOS.

Are there any workaround?

My environment:
  OutSystems UI Mobile 2.0.9
  Personal Environment 11.0.212.0
  iOS 12.4.1

I confirmed the trouble occurs on both mobile native and OutSystems Now.

I'm going to post my procedure to reproduce as following comments.

Best regards,
Moriya Takasi

2018-03-29 06-28-54
Takasi Moriya
 
MVP
Solution

My colleague found a workaround.

At the beginning of Login screen action, firing 'input' event onto Username field and Password field let variables get autofilled values.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

Login screen of my mobile app.
I tapped Passwords button above soft keyboard.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

My iPhone has Touch ID and the dialog requiring Touch ID appeared.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

After touching Touch ID button, I selected an account for this application from my saved account list.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

The saved account info were inputted into fields for Username and Password.
I noticed that the inputted characters were overlaid on field's label in the password field and Eye icon didn't appeared.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

Then I tapped Login button and an error message appeared.
Of course, the username and password were correct.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

After that, I added a character into the Password field, the Eye icon appeared.
And then I deleted the added character and tapped Login, the attempt succeeded.

2018-03-29 06-28-54
Takasi Moriya
 
MVP

It seems that these input fields can't notice auto inputting by iOS.
I am happy if some css or JavaScript code help the problem.

Best regards,
Moriya Takasi

2018-03-29 06-28-54
Takasi Moriya
 
MVP
Solution

My colleague found a workaround.

At the beginning of Login screen action, firing 'input' event onto Username field and Password field let variables get autofilled values.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.