Forum Discussion
Support textField autofill in Jetpack Compose
There's been a few threads on the kotlin-lang slack group (in the #compose channel specifically) where people ask about implementing autofill for their compose apps. The general concensus is to apply the advice found here: https://bryanherbst.com/2021/04/13/compose-autofill/
If you follow that advice, other password managers (like google or keepass) will work. But 1password... just never works with compose text fields.
1Password Version: 8.0
Extension Version: Not Provided
OS Version: Android
Browser:_ Not Provided
12 Replies
- Former Member
Neither field fills. I'd appreciate if an android dev team member just created a sample android project with two text input fields and you will see that 1password doesn't autofill. Interestingly though that google passwords do autofill.
conversely, if I create an email and password field using the classic android view system then everything works as expected with google and 1password autofill.definitely seems to be an issue specific to 1pass.
- 1P_Timothy
Community Manager
Hi @coltonidle, thanks for your question.
To my knowledge, 1Password should fill a username or email field with
AutofillType.Username
orAutofillType.EmailAddress
in the node. 1Password has an additional requirement for filling password fields where the input type of the field must also be of a password type. So, if that's not added, 1Password will only fill the username or email and not the password. Is that what you've found or is neither field filling?