Skip to content

Commit 99d08f6

Browse files
sgtcoolguylokeshchdhry
authored andcommitted
fix(android): default Ti.Ui.TextField.editable is true in #focus() (#11405)
If the proxy doesn't have an explicit value set for editable, assume true by default Fixes TIMOB-27694
1 parent c00da08 commit 99d08f6

File tree

1 file changed

+1
-1
lines changed
  • android/modules/ui/src/java/ti/modules/titanium/ui/widget

1 file changed

+1
-1
lines changed

android/modules/ui/src/java/ti/modules/titanium/ui/widget/TiUIText.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ public void focus()
497497
{
498498
super.focus();
499499
if (tv != null && proxy != null && proxy.getProperties() != null) {
500-
finalbooleaneditable = proxy.getProperties().optBoolean(TiC.PROPERTY_EDITABLE, false);
500+
finalbooleaneditable = proxy.getProperties().optBoolean(TiC.PROPERTY_EDITABLE, true);
501501
TiUIHelper.showSoftKeyboard(tv, editable);
502502
}
503503
}

0 commit comments

Comments
 (0)
close