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

    Hi there,how to disable input on focus out(@blur) and enable input on focus(@focus) .Please help

    Framework
    2
    5
    697
    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.
    • R
      rajsonakar last edited by

      I tried below code
      <q-input
      v-model=“number”
      @blur=“onfocusout”
      @input=“oninputchange”
      :disable=“disnumber”
      @focus=“onfocus”
      />
      method(){
      onfucusout:function(){ this.disnumber=true},
      onfucus:function(){ this.disnumber=false}
      }

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

        What in the world are you trying to do?

        Scott

        R 1 Reply Last reply Reply Quote 0
        • R
          rajsonakar last edited by

          if there is focus on input make available the user for editing if focus out restrict the user modification.I have four input component in a form only one submit button user should not allow to editing on all the four field only one modification should be allowed on q input on the press of submit button.

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

            @s-molinari
            Hi ,
            if there is focus on input make available the user for editing if focus out restrict the user modification.I have four input component in a form only one submit button user should not allow to editing on all the four field only one modification should be allowed on q input on the press of submit button.

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

              Can you make a codepen with the code you have and try to explain the steps the user would be taking what what they should expect? Your use case is still not clear to me.

              Scott

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