Skip to content

Commit

Permalink
fix(android): default Ti.Ui.TextField.editable is true in #focus() (#…
Browse files Browse the repository at this point in the history
…11405)

If the proxy doesn't have an explicit value set for editable, assume true by default

Fixes TIMOB-27694
  • Loading branch information
sgtcoolguy authored and lokeshchdhry committed Dec 20, 2019
1 parent c00da08 commit 99d08f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ public void focus()
{
super.focus();
if (tv != null && proxy != null && proxy.getProperties() != null) {
final boolean editable = proxy.getProperties().optBoolean(TiC.PROPERTY_EDITABLE, false);
final boolean editable = proxy.getProperties().optBoolean(TiC.PROPERTY_EDITABLE, true);
TiUIHelper.showSoftKeyboard(tv, editable);
}
}
Expand Down

0 comments on commit 99d08f6

Please sign in to comment.