[CLOSED] Combo box list items should not pop up on selection of its FieldLabel.

  1. #1

    [CLOSED] Combo box list items should not pop up on selection of its FieldLabel.

    In the following combo box with FieldLabel property with value "Component:". It is working fine. But when I click on filed label ("Component:"), the items gets pop up, which should not be.

    <ext:ComboBox ID="ddlComponent" FieldLabel="Component:" Editable="false" runat="server" Width="250">
            <Items>
                <asp:ListItem Text="1"  />
                <asp:ListItem Text="2"  />
                <asp:ListItem Text="3"  />
            </Items>
    </ext:ComboBox>
    Last edited by Daniil; Apr 03, 2014 at 4:11 AM. Reason: [CLOSED]
  2. #2
    Hi @aditya,

    Needs to remove a for attribute of a label element.
    <ext:ComboBox runat"server" FieldLabel="FieldLabel">
        <Items>
            <ext:ListItem Text="1" />
        </Items>
        <Listeners>
            <AfterRender Handler="this.labelEl.removeAttribute('for');" />
        </Listeners>
    </ext:ComboBox>

Similar Threads

  1. [CLOSED] custom list on combo box
    By odyssey in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Feb 17, 2014, 4:35 AM
  2. [CLOSED] Combo list adjust
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 15, 2012, 2:07 PM
  3. Replies: 8
    Last Post: Nov 28, 2011, 9:25 AM
  4. [CLOSED] Combo box list alignment
    By yobnet in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2010, 6:14 AM
  5. Inconsistent height on div.x-combo-list-inner
    By dlouwers in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 14, 2009, 3:17 PM

Tags for this Thread

Posting Permissions