[ 
https://issues.apache.org/jira/browse/CB-12845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile closed CB-12845.
-----------------------------
    Resolution: Won't Do

closing as won't do as nobody has voted nor commented on the feature

> in prompt() dialog, default text should be selected on focus
> ------------------------------------------------------------
>
>                 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
>              Labels: easyfix
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to