ComboBox search not working

  1. #1

    ComboBox search not working

    Hello.

    I have the following ComboBox in one form:

        <ext:ComboBox runat="server" ID="Country" Width="250" FieldLabel="Country" LabelAlign="Right"
        LabelSeparator=" " AllowBlank="false" StoreID="storeCountry" ValueField="getId"
        DisplayField="getName" QueryMode="Local">
        <ToolTips>
            <ext:ToolTip ID="ToolTip10" Height="30" runat="server" TrackMouse="true">
                <Listeners>
                    <BeforeShow Handler="item.setWidth(#{cmbCountryAddress}.getRawValue().length*7);">
                    </BeforeShow>
                    <Show Handler="#{Country}.getRawValue()!=''? this.body.update(#{Country}.getRawValue()):this.hide();" />
                </Listeners>
            </ext:ToolTip>
        </ToolTips>
        <Triggers>
            <ext:FieldTrigger Icon="Clear" HideTrigger="true" />
        </Triggers>
        <Listeners>
            <AfterRender Handler="this.forceSelection=true;">
            </AfterRender>
            <Select Handler="this.getTrigger(0).show(); App.direct.MyFunction(this.getValue(),true,null);">
            </Select>
            <BeforeQuery Handler="this.getTrigger(0)[this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
            <TriggerClick Handler="CountryTriggerClick();" />
            <Blur Handler="this.getTrigger(0).hide();">
            </Blur>
            <Focus Handler="this.getTrigger(0)[this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
        </Listeners>
        </ext:ComboBox>

    The search functionality of the ComboBox works perfectly fine in one form, however when I use the exact ComboBox in another form the search functionality does not work anymore.

    Any help would be much appreciated
  2. #2
    Hi @Enzo,

    Please provide a full test case to reproduce.
  3. #3
    Hi Daniil

    It seems that I have been using the same store for another ComboBox, and in this other ComboBox I am clearing the store's filter. The problem is gone when I use two different stores.

    This thread can now be closed.

Similar Threads

  1. [CLOSED] Combobox search need help
    By ddslogistics in forum 1.x Legacy Premium Help
    Replies: 17
    Last Post: Aug 27, 2012, 10:07 AM
  2. [CLOSED] Sub Search for combobox
    By AnulekhaK in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 19, 2011, 9:31 AM
  3. Not working: filter search, drop-down list
    By andersgunnare in forum 1.x Help
    Replies: 4
    Last Post: Jun 07, 2011, 6:45 PM
  4. [CLOSED] Combobox Search not working
    By Suntico in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 18, 2011, 5:23 AM
  5. Combobox live search
    By Yannis in forum 1.x Help
    Replies: 0
    Last Post: Dec 09, 2009, 10:19 AM

Posting Permissions