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

cordova-plugin-dialogs support more confirm choices on Windows

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-dialogs
    • Labels:
      None

      Description

      In cordova-plugin-dialogs the confirm dialog has a quirk where it cannot display more than 2 buttons on Windows mobile or more than 3 buttons on Windows desktop. This can be solved by using `Windows.UI.Popups.PopupMenu` instead of `Windows.UI.Popups.MessageDialog` as documented in <https://docs.microsoft.com/en-us/uwp/api/windows.ui.popups.popupmenu>.

      An alternative idea to support yes-no-cancel choices on Windows desktop and mobile is described in: https://maximelabelle.wordpress.com/2016/03/02/displaying-a-yes-no-cancel-message-dialog-in-a-universal-windows-platform-uwp-app/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brodybits Chris Brody
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: