Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
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.
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.
Attachments
Issue Links
- relates to
-
CB-3403 notification.confirm docs have not been updated for deprecated signature
- Closed