No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Dialog confirmation triggers 'back' on ios

    Help
    1
    1
    377
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FascistDonut last edited by

      Can anyone help me understand why this dialog works fine on Android, but not on IOS? On android hitting OK closes the dialog, but on the latest iPhone hitting OK makes the browser go back a page. Not using Cordova.

      Basically just trying to have a pop up that asks for a submitter’s name in an input and a cycle selection from a dropdown select. (then clearing it so it doesn’t clutter interface after it has been set once)

      Dialog.create({
      title: ‘Setup’,
      form: {
      submitter: {
      type: ‘text’,
      label: ‘Submitter’
      },
      cycle: {
      type: ‘radio’,
      label: ‘Count Cycle’,
      items: vm.selectCycleOptions
      }
      },
      buttons: [
      {
      label: ‘Ok’,
      handler (data) {
      // Toast.create('Returned ’ + JSON.stringify(data))
      vm.cycle = data.cycle
      vm.submitter = data.submitter
      }
      }
      ]
      })

      1 Reply Last reply Reply Quote 0
      • First post
        Last post