1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    25
    Vote Rating
    0
    Answers
    1
    grnadav is on a distinguished road

      0  

    Default Answered: Prevent form field from gaining focus

    Answered: Prevent form field from gaining focus


    Hello

    Is there a way to prevent a form field from gaining focus?
    I have a readOnly field and don't want the user to be able to focus on it at all (i.e. tab-index -1? )

    Thanks

  2. I hate replying to myself, but the way I found (which satisfies my needs but not so obvious) is use disabled:true

  3. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    25
    Vote Rating
    0
    Answers
    1
    grnadav is on a distinguished road

      0  

    Default solution

    solution


    I hate replying to myself, but the way I found (which satisfies my needs but not so obvious) is use disabled:true

Tags for this Thread