This duplicates another bug already reported in our system: EXTJS-6694
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    104
    Vote Rating
    0
    jej2003 is on a distinguished road

      0  

    Default Combobox filters not being removed on destroy

    Combobox filters not being removed on destroy


    I am seeing that if I create a combobox in a window, filter the combobox by typing into the field then close the window, open a new instance of that window the previous filter from the first window is still applied to the store. Is this expected behavior? I would have expected that on destroy the combobox would have removed any filters it had on the store to avoid this.

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    104
    Vote Rating
    0
    jej2003 is on a distinguished road

      0  

    Default


    This override makes the combobox act as I would have expected.

    Code:
    Ext.override(Ext.form.field.ComboBox, {
        onDestroy: function() {
            this.clearFilter();
            this.bindStore(null);
            this.callParent();
        }
    });
    The addition is just this.clearFilter() which removes the filter applied by this combobox when the combo is destroyed. Would love to hear comments about this though.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Good point. It should probably release its influence on the Store on destroy.

  4. #4
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    104
    Vote Rating
    0
    jej2003 is on a distinguished road

      0  

    Default


    thanks Animal, that was also my thoughts. I'll leave the override in until I see any official release which makes it unnecessary.

    Will a bug be created for this that I can track?

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi