Skip to content

Commit 55ff433

Browse files
Merge pull request livecode#6039 from montegoulding/bugfix-20518
[[ Bug 20518 ]] Set correct input type for passwords
2 parents 4b31d99 + 841e2cb commit 55ff433

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

extensions/widgets/androidfield/androidfield.lcb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,9 @@ handler SetIsPassword(in pPassword as Boolean)
12581258
variable tPasswordTransformationMethod as JObject
12591259
put PasswordTransformationMethod_getInstance() into tPasswordTransformationMethod
12601260
TextView_setTransformationMethod(mNativeObj, tPasswordTransformationMethod)
1261-
TextView_setInputType(mNativeObj, TYPE_TEXT_FLAG_NO_SUGGESTIONS)
1261+
variable tNewFlags as Integer
1262+
put BitwiseOrList([TYPE_CLASS_TEXT, TYPE_TEXT_VARIATION_PASSWORD]) into tNewFlags
1263+
TextView_setInputType(mNativeObj, tNewFlags)
12621264
else if not pPassword and mTransformationMethod is not nothing then
12631265
TextView_setTransformationMethod(mNativeObj, mTransformationMethod)
12641266
end if
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# [20518] Set correct keyboard input type for passwords

0 commit comments

Comments
 (0)