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

    Can the positioning of the dialog component be specified around a component?

    Help
    3
    7
    935
    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.
    • T
      t783072 last edited by

      For example, I want to pop up a dialog box below the input box when the input box gets focused.

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

        Have a look at QPopupProxy.

        https://quasar.dev/vue-components/popup-proxy

        Scott

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

          @s-molinari It seems to solve the problem, but after I click the input box to pop up the proxy component, the input box loses focus. When I want to implement the function, the hot search keywords are displayed at the same time when the user clicks the input box

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

            Can’t help you much really. Try making a codepen and explain your use case better. You also do know, the QSelect component can do an autocomplete too?

            https://quasar.dev/vue-components/select#Filtering-and-autocomplete

            Scott

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

              @s-molinari Thanks for your help, i will think about the solution again

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

                I think better use a menu, popupproxy seem to take the focus off from the parent, due it’s nature having 2 modes a dialog/dropdown menu.

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

                  Ah yes. Good point. I didn’t realize focus would be an issue.

                  Scott

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