Michael Kwun created CB-12845:
---------------------------------
Summary: default text should have be selected in prompts dialog
Key: CB-12845
URL: https://issues.apache.org/jira/browse/CB-12845
Project: Apache Cordova
Issue Type: Improvement
Components: cordova-plugin-dialogs
Reporter: Michael Kwun
Priority: Minor
At least in the Android Java source code for the dialogs plugin, if one calls
the "prompt" method and includes a default text argument, the default text is
not highlighted on focus in the created dialog. It sure seems like it should be.
Fix: In the Notification.java, after
promptInput.setText(defaultText);
add the line:
promptInput.setSelectAllOnFocus(true);
I've tested this, and it works for me.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]