1. #1
    Sencha User
    Join Date
    Jun 2013
    Location
    Kochi
    Posts
    2
    Vote Rating
    0
    maheshmgopi is on a distinguished road

      0  

    Default Unanswered: Combobox clears the text being searched if no results found

    Unanswered: Combobox clears the text being searched if no results found


    I have a combobox with auto complete feature. The text being entered is sent to server on keyup and the result is populated as suggestions. But if there is no result, then the text entered is getting cleared. I want the text remained in the combobox.
    Below is my code. I am using Extjs 4.1.3
    {
    xtype: 'combobox',
    emptyText:'Search',
    store:'TankCompletionSearchStore',
    displayField: 'Name',
    action:'tankCompletionSearch',
    valueField:'TankID',
    labelAlign: 'top',
    margin:'3 0 0 0',
    minChars:1,
    tabIndex:0,
    hideTrigger:true,
    forceSelection:false,
    width: 210,
    enableKeyEvents: true,
    listConfig: {
    loadingText: 'Searching...',
    emptyText: 'No results found'
    }
    }

    Thanks

  2. #2
    Sencha User
    Join Date
    Jun 2013
    Location
    Kochi
    Posts
    2
    Vote Rating
    0
    maheshmgopi is on a distinguished road

      0  

    Default


    Hi, does anybody have any idea? I am stuck here. Please help.

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,062
    Vote Rating
    215
    Answers
    486
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    Can you post the response from your server when matches are found and delivered and then also an example response from your server when a match is not found?


    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager:
    sheryl@sencha.com

Thread Participants: 1

Tags for this Thread