I'm looking for a way to disable the keyboard auto suggestions with the TextField Composable.
In the olden days of Android from about 4 months ago, using EditText you could do something like this, setting the inputType to textNoSuggestions|textVisiblePassword
.
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textNoSuggestions|textVisiblePassword" />
I'm using both inputTypes here because not all keyboards support the textNoSuggestions
field.
Is there a way to do this with Jetpack Compose's TextField
? I'm not seeing anything in their KeyboardOptions
to mimic this functionality.