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

    Change order of buttons in $q.dialog (prompt)

    Help
    2
    2
    290
    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.
    • H
      hibace last edited by

      Hi
      Are there any methods to change the order of button (cancel, ok) in $q.dialog (prompt)?
      I need this will be in order OK - Cancel, not Cancel - OK.
      The way to change label on them is not valid, because the onCancel callback does not support ‘data’ parameter.
      Thx for answers.

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

        @hibace you can roll a custom prompt component with that setup. https://quasar.dev/quasar-plugins/dialog#Invoking-custom-component

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