cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (Jira)" <j...@apache.org>
Subject [jira] [Closed] (CB-12845) in prompt() dialog, default text should be selected on focus
Date Fri, 26 Jun 2020 16:26:00 GMT

     [ 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message