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

    Is there a way to show a component in the Dialog?

    Framework
    2
    5
    2501
    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.
    • M
      mbouclas last edited by

      How do you go about rendering a component in a dialog? If that’s not possible, how do you form a bit more non standard modals?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Dialogs are just Modals wrapped up. Create a minimized Modal with what components you like.

        1 Reply Last reply Reply Quote 0
        • M
          mbouclas last edited by

          Is there a simple example on how you invoke that minimized modal?

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            <q-modal class="minimized">

            References:

            • http://quasar-framework.org/components/modal.html
            • Might as well look at Dialog code (which is a wrapper over Modal): https://github.com/quasarframework/quasar/blob/dev/src/components/dialog/Dialog.vue
            1 Reply Last reply Reply Quote 0
            • M
              mbouclas last edited by

              nice one, thanks.

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