Page MenuHomePhabricator

Add textContentTypes to login form
Closed, ResolvedPublic

Description

If we add textContentType = .username and textContentType = .password to our login fields, it should allow keyboard autofill from password managers.

See: https://developer.apple.com/la/videos/play/wwdc2020/10115/?time=115

Testing Notes

Light regression test of login flow.

Related Objects

Event Timeline

HNordeenWMF moved this task from Needs Triage to Snacks on the Wikipedia-iOS-App board.
HNordeenWMF added a project: good first task.

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Hello, I have claimed this task and I am a beginner.
Could you please guide me on where exactly to make these changes in the codebase?

Hello @Priyankar22. The file you need is Wikipedia/Code/WMFLoginViewController.swift in https://github.com/wikimedia/wikipedia-ios.

Tsevener updated the task description. (Show Details)

Looks good from my side; assigning to @SNowick_WMF for the data portion.

Appears to be fixed on 6125-beta-2026-07-24
Tested all the widgets and changed the device date to check other days. Will check tomorrow as well.
Tested on:
iPhone 16, iOS 26.4.2
iPhone XS, iOS 26.2.1
iPad Air 11 inch, iPadOS 26.3.1