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

    Adding a component inside Dialog box?

    Help
    2
    2
    249
    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.
    • KunalChoudhary
      KunalChoudhary last edited by

      I want to add a component such that it is inside a dialog box. I did something like this:

      <template>
      ...
      
           <q-dialog persistent>
                <MyComponent />
           </q-dialog>
      
      ...
      </template>
      

      By doing this I am able to show the component. But anything inside component is unclickable. There is no way for me to interact with the component.
      Does anyone know how it can be done??? Thanks in advance.

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

        @KunalChoudhary try wrapping the content in a qcard, qdialog has no foreground by itself. Check the note https://quasar.dev/vue-components/dialog#Usage.

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