Results 1 to 4 of 4

Thread: Better solution to remove the cursor from comboBox

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    NY, USA
    Posts
    10
    Vote Rating
    0
      0  

    Default Better solution to remove the cursor from comboBox

    For some reason the comboBox stops pulling back results after select the result, to resolve this i added a blur event to remove the cursor from the combo :

    'blur': function() {
    var blurEvent = function(el) {
    el.blur();
    }
    blurEvent .defer(10,this,[this.el]);
    }

    Is there a better solution for this, without use defer ?
    Thanks



  2. #2
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,025
    Vote Rating
    1334
      0  

    Default

    What happens when you clear the value? Does it then poll results?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Location
    NY, USA
    Posts
    10
    Vote Rating
    0
      0  

    Default

    The combo stop pulling down result and the beforequery event is not executed, i need to click outside of the combo and click again on it to display result . the best solution in my opinion is to remove the cursor from the combo after select or blur event .

    I'm looking for better solution to Fix this issue .

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    NY, USA
    Posts
    10
    Vote Rating
    0
      0  

    Default

    is there any update for this ?!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •