1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    kakamo is on a distinguished road

      0  

    Default Better solution to remove the cursor from comboBox

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What happens when you clear the value? Does it then poll results?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    8
    Vote Rating
    0
    kakamo is on a distinguished road

      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
    Posts
    8
    Vote Rating
    0
    kakamo is on a distinguished road

      0  

    Default


    is there any update for this ?!

Thread Participants: 1