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't focus on QInput after component mounted.(v0.14)

    Help
    2
    5
    1216
    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.
    • K
      keyb2004 last edited by keyb2004

      When the QInput component was mounted, I can put focus on it.

      • The “autofocus” Focus input field after rendering component, but after this, it doesn’t work.
      • document.getElementById('inputID').focus(); doesn’t work either.

      Can you provide a parameter or a method to do this? Thank you!

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

        0_1498808802169_Screenshot from 2017-06-30 10:45:32.png

        1 Reply Last reply Reply Quote 0
        • K
          keyb2004 last edited by

          Ok. How to use it ?

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

            http://beta.quasar-framework.org/components/introduction-for-beginners.html#Handling-Vue-Methods
            Reading the whole page after that will also help in understanding some other things.

            1 Reply Last reply Reply Quote 0
            • K
              keyb2004 last edited by

              Thank you ! : )

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