I’m trying to disable autofill on compose for andr...
# compose
m
I’m trying to disable autofill on compose for android. I’m using a
OutlinedTextField
, and i’ve set it up with
PasswordVisualTransformation
. Autofill appears shortly after typing a few characters. Any hints on how to disable the built-in autofill? 😅 Thanks in advance!
c
Auto fill works in Compose? Never seen it working!
m
🙈ta-da!
c
Is that auto fill?
m
hah right, it’s the predictive text
how can I turn it off?
in Compose..
c
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Password)
Technically speaking though, I don't think what you're seeing is auto fill. That just seems to be keyboard suggestions (which you can adjust with the code above)
👍 2
m
It worked nicely ☺️ Thank you 🙏
143 Views