Custom Search

Page 1 of 3 123 LastLast
  1. #1

    Custom Search

  2. #2
    Hello!

    Quote Originally Posted by DanielU View Post
    The only problem, is that I want to be able to check the item from the list created or write the name (even if the name is not at the list).
    In this example, it works only if I select one from the list.
    What do you mean? You need something like this https://examples1.ext.net/#/Form/ComboBox/MultiCombo/ ?

    Can you provide scenario and more information?
  3. #3
  4. #4
    Try to set:

    ForceSelection="False"
  5. #5
    It worked.
    But I still have a problem.
    When I select something from the combo and the try to erase it, the old value appears again.
    You can reproduce it, at the example of custom search, like this:
    - Select the plant "Adder's-Tongue".
    - After that, try to erase this data and let the field like "".
    - The "Adder's-Tongue" will appear again after you exit the field.

    How can I change it to keep the field empty?

    Thanks
    Last edited by DanielU; Jan 29, 2013 at 10:14 AM.
  6. #6
    Hi.

    Any ideas about what could be done? Is it necessary to create a new thread?

    Thanks.
  7. #7
    Hello!

    Sorry, for late response.

    I couldn't reproduce your problem. I've used the following markup for ComboBox:

    <ext:ComboBox 
    	runat="server" 
    	DisplayField="Common" 
    	ValueField="Common"
    	AllQuery="true"
    	ForceSelection="False"
    	LoadingText="Searching..." 
    	Width="570"
    	PageSize="10"
    	HideTrigger="true"
    	ItemSelector="div.search-item"        
    	MinChars="1">
    ...
    </ext:ComboBox >
  8. #8
    Hi. Thanks for the response.

    Using the example https://examples1.ext.net/#/Form/Com...Custom_Search/

    Do this:
    - Type "a".
    - The combobox will search and find 2 names (Adder's-Tongue and Anemone).
    - Press TAB.
    - It will select the first name (Adder's-Tongue).
    - Return to that field.
    - Select the name.
    - Press DELETE.
    - Press TAB.

    In my case, when I do this, instead of keep the blank information, it puts Adder's-Tongue again.

    I tried at the example and it happens there.
    This way, did you reproduce the problem?

    Thanks in advance.
  9. #9
    Did you set
    ForceSelection="False"
    Can you provide example?
  10. #10
Page 1 of 3 123 LastLast

Similar Threads

  1. Custom search with WebService
    By arya009 in forum 1.x Help
    Replies: 13
    Last Post: Apr 19, 2011, 11:07 AM
  2. custom search in combobox
    By aditya.murthy88@gmail.com in forum 1.x Help
    Replies: 0
    Last Post: Feb 05, 2011, 8:57 AM
  3. Custom Search on TextArea
    By mj.daly in forum 1.x Help
    Replies: 2
    Last Post: Feb 02, 2010, 9:37 AM
  4. ComboBox Custom Search Example
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Aug 15, 2009, 10:59 PM
  5. Custom Search
    By sharif in forum 1.x Help
    Replies: 0
    Last Post: Jul 14, 2009, 4:04 PM

Posting Permissions