[CLOSED] What does ForceSelection do in ComboBox?

  1. #1

    [CLOSED] What does ForceSelection do in ComboBox?



    I have a simple ComboBox and I want the users to be able to typeahead but only pick from the list of items in the box. As far as I can tell, I have to have Editable=true, ForceSelection=true and TypeAhead=true. I can type and the list will filter correctly, but I can also enter any string that's not on the list which is not supposed to happen because ForceSelection is true. If that's not what ForceSelection does, how do I accomplish what I want?

    Here is the ComboBox:

    <ext:ComboBox ID="cb1" runat="server" Editable="true" ForceSelection="true" TypeAhead="true" DisplayField="id" ValueField="id" Mode="Local" TriggerAction="All" SelectOnFocus="true" StoreID="Store1" />
  2. #2

    RE: [CLOSED] What does ForceSelection do in ComboBox?

    Hi,

    Fixed. Now if ForceSelection="true"*then inputed values which are not in list is not available






  3. #3

    RE: [CLOSED] What does ForceSelection do in ComboBox?

    Awsome response time. I got the fix and it works. Many thanks.

Similar Threads

  1. Replies: 4
    Last Post: Nov 30, 2011, 5:25 AM
  2. Replies: 4
    Last Post: Sep 28, 2011, 8:57 AM
  3. [0.8.1] Combo with ForceSelection
    By sidinwillis in forum 1.x Help
    Replies: 6
    Last Post: Dec 22, 2009, 10:25 AM
  4. [CLOSED] ComboBox ForceSelection=False and Change Event
    By Steve in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 13, 2009, 2:48 AM
  5. ForceSelection on Combo not working
    By jeybonnet in forum Bugs
    Replies: 2
    Last Post: Feb 01, 2009, 12:24 PM

Posting Permissions