You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikita Matrosov (JIRA)" <ji...@apache.org> on 2017/06/22 15:13:00 UTC

[jira] [Commented] (CB-12923) Native Dialog enters new line when pressing the enter key on Android

    [ https://issues.apache.org/jira/browse/CB-12923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059514#comment-16059514 ] 

Nikita Matrosov commented on CB-12923:
--------------------------------------

[~ktran13], It seems to me that it's expected behavior since 'setOnEditorAction' listener is not set to 'EditText', you can use buttons to handle user input (https://github.com/apache/cordova-plugin-dialogs#navigatornotificationprompt)

> Native Dialog enters new line when pressing the enter key on Android
> --------------------------------------------------------------------
>
>                 Key: CB-12923
>                 URL: https://issues.apache.org/jira/browse/CB-12923
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-dialogs
>            Reporter: Kristian Tran
>
> Steps to Reproduce:
> 1. Prompt the user to enter an input using the native dialog plugin
> Actual:
> When using the input prompt on Android, the input adds new lines when the user presses "enter" on the keyboard.
> Expected:
> The input dialog closes when the user presses enter



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org