Open abodea opened 5 years ago
@eliserichards @jhugman I couldn't find the exact string but according to Documentation we can just add the line android:maxLength="NUMBER"
under the preference(couldn't find this either).
<androidx.preference.EditTextPreference
android:title="@string/username"
android:title="@string/password"
android:maxLength="128"/> <!--here-->
Those are my findings regarding this, maybe it helps.
Steps to reproduce
Expected behavior
There should be a limit on the username and password fields.
Actual behavior
There is no limit when editing the password and username fields.
Device & build information
Google Pixel 3a XL(Android 10).
3.2.0 (Build 5522).
Notes
I added more than 300 characters on password or username fields.