[ https://issues.apache.org/jira/browse/CB-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ingo Bürk updated CB-1933: -------------------------- Description: It's currently not possible to use comma in button labels when creating confirm dialogs. This would be useful for buttons like "Yes, Delete". Probably a good idea for implementation would be allowing an array as the buttonLabels argument, e.g. {code}navigator.notification.confirm('Alert!', function(){}, function(){}, 'Title', ['Yes, Do It', 'No']);{code} For compatibility it shouldn't be a problem to detect whether a string or an array has been passed and act accordingly. was: It's currently not possible to use comma in button labels when creating confirm dialogs. This would be useful for buttons like "Yes, Delete". Probably a good idea for implementation would be allowing an array as the buttonLabels argument, e.g. navigator.notification.confirm('Alert!', function(){}, function(){}, 'Title', ['Yes, Do It', 'No']); For compatibility it shouldn't be a problem to detect whether a string or an array has been passed and act accordingly. > Using comma in button labels > ---------------------------- > > Key: CB-1933 > URL: https://issues.apache.org/jira/browse/CB-1933 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, CordovaJS > Reporter: Ingo Bürk > Assignee: Joe Bowser > Priority: Minor > > It's currently not possible to use comma in button labels when creating > confirm dialogs. This would be useful for buttons like "Yes, Delete". > Probably a good idea for implementation would be allowing an array as the > buttonLabels argument, e.g. > > {code}navigator.notification.confirm('Alert!', function(){}, function(){}, > 'Title', ['Yes, Do It', 'No']);{code} > For compatibility it shouldn't be a problem to detect whether a string or an > array has been passed and act accordingly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira