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 Plugin - No OK dismiss

    Framework
    3
    3
    194
    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.
    • S
      stuartcusack last edited by

      I think it would be useful to have a noOkDismiss property on the Dialog plugin.

      In my case I would like to keep the dialog open until my asynchronous API functions complete and then I would dismiss it manually.

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by s.molinari

        Have a look at the “invoking your own component” section.

        https://quasar.dev/quasar-plugins/dialog#Invoking-custom-component

        Notice the onOKClick() method. That gives you the control you are looking for, I believe.

        Scott

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman last edited by

          @stuartcusack using @s-molinari 's suggestion, you can pass additional props, and make a check in your custom dialog. like here https://codepen.io/metalsadman/pen/MWwmVdV?editors=1010

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