[FIXED] [#1598] [4.7.0] Button not enabled after combobox has used Forceselection

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [FIXED] [#1598] [4.7.0] Button not enabled after combobox has used Forceselection

    <form id="form1" runat="server">
            <ext:ResourceManager runat="server" />
            <ext:FormPanel runat="server" Width="500" DefaultButton="btnSave">
                <Items>
                    <ext:TextField
                        runat="server"
                        AllowBlank="false"
                        FieldLabel="fieldlabel"
                        LabelWidth="130"
                        AnchorHorizontal="100%"
                        MaskRe="/[^<>]/">
                    </ext:TextField>
                    <ext:ComboBox
                        runat="server"
                        FieldLabel="fieldlabel"
                        AllowBlank="false"
                        LabelWidth="130"
                        AnchorHorizontal="100%"
                        TypeAhead="true"
                        ForceSelection="true">
                        <Items>
                            <ext:ListItem Text="BBBB" Value="1" />
                            <ext:ListItem Text="CCCC" Value="2" />
                            <ext:ListItem Text="DDDD" Value="3" />
                        </Items>
                    </ext:ComboBox>
                </Items>
                <Buttons>
                    <ext:Button ID="btnSave" runat="server" Text="Save" FormBind="true" />
                    <ext:Button ID="btnCancel" runat="server" Text="Cancel" />
                </Buttons>
            </ext:FormPanel>
    
        </form>

    In the Form, I fill in "a" in the textField and TAB, then fill in "a" in the combobox and TAB. ForceSelection clears the combobox. All normal but when I then choose a valid value for the combobox, it is not revalidated again and my saveButton stays disabled?
    Last edited by fabricio.murta; Aug 07, 2018 at 1:41 PM.

Similar Threads

  1. [CLOSED] Combobox with forceselection allow null
    By kwcitadmin in forum 4.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 14, 2016, 8:05 PM
  2. Replies: 6
    Last Post: Apr 23, 2016, 4:41 PM
  3. [OPEN] [#136] ComboBox ForceSelection problem
    By FpNetWorth in forum 2.x Legacy Premium Help
    Replies: 15
    Last Post: May 15, 2014, 5:13 AM
  4. Combobox with forceselection and loadRecord
    By nukarsoft in forum 2.x Help
    Replies: 0
    Last Post: Jan 07, 2013, 2:38 PM
  5. [CLOSED] What does ForceSelection do in ComboBox?
    By harafeh in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 16, 2009, 1:48 PM

Tags for this Thread

Posting Permissions