[CLOSED] Destroying fields when RightButtons is defined

  1. #1

    [CLOSED] Destroying fields when RightButtons is defined

    On the following example, press Clear Fields button: exception is thrown when destroying a field with RightButtons defined.

    Click image for larger version. 

Name:	RB.png 
Views:	3 
Size:	16.1 KB 
ID:	24178

    The exception is thrown because Ext.remove is undefined, so we can expect the same exception if LeftButtons is defined

    <!DOCTYPE html>
    <html>
    <head runat="server">
    </head>
    <body>
        <ext:ResourceManager Theme="Crisp" ScriptMode="Debug" runat="server" />
        <ext:Button Text="Clear Fields" runat="server">
            <Listeners>
                <Click Handler="App._fs.removeAll();" />
            </Listeners>
        </ext:Button>
        <ext:FieldSet ID="_fs" Title="Fields" runat="server">
            <Items>
                <ext:TextField FieldLabel="Field 001" runat="server">
                    <RightButtons>
                        <ext:Button Icon="Lightning" runat="server" />
                    </RightButtons>
                </ext:TextField>
                <ext:TextField FieldLabel="Field 002" runat="server" />
            </Items>
        </ext:FieldSet>
    </body>
    </html>
    Last edited by Daniil; Sep 01, 2015 at 11:43 PM. Reason: [CLOSED]
  2. #2
    HI @RCN,

    Thank you for the report!

    It is a known issue that has been fixed in 3.2.0.
    https://github.com/extnet/Ext.NET/issues/690

Similar Threads

  1. Replies: 2
    Last Post: Aug 24, 2015, 8:35 PM
  2. Replies: 6
    Last Post: Aug 12, 2014, 7:24 AM
  3. [CLOSED] Bug on destroying callouts
    By Akpenob in forum 2.x Premium Help
    Replies: 5
    Last Post: Mar 18, 2014, 5:23 AM
  4. [CLOSED] textfield + RightButtons
    By John_Writers in forum 2.x Premium Help
    Replies: 4
    Last Post: Jun 03, 2013, 3:51 PM
  5. Replies: 2
    Last Post: Apr 24, 2011, 9:14 PM

Posting Permissions