Aug 26, 2015, 1:00 PM
[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.
The exception is thrown because Ext.remove is undefined, so we can expect the same exception if LeftButtons is defined
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]