You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/21 15:27:44 UTC

[GitHub] [cordova-plugin-dialogs] joe-scotto opened a new issue #126: Prompt don't close until callback?

joe-scotto opened a new issue #126: Prompt don't close until callback?
URL: https://github.com/apache/cordova-plugin-dialogs/issues/126
 
 
   Is there a way with the `prompt()` method to not close it until a function completes? 
   
   For example, I'm using the following to prompt a user for their password to confirm account changes, upon successful password it should just show an alert but if the password is incorrect it should leave the prompt open for them to attempt it again. 
   
   ```
   this.dialogs.prompt(
         'Enter your password please', 
         'Password',
         [
           'Close',
           'OK'
         ]
       )
   ```
   
   It seems that no matter what, the buttons always close the prompt, they have no option to leave it open. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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