Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1933

Using comma in button labels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-android, cordova-js
    • 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

          There are no Sub-Tasks for this issue.

          Activity

            People

              max.woghiren Max Woghiren
              airblader Ingo Bürk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: