4 Attachment(s)
[OPEN] [#772] TagField Listeners
On the following sample, when first item is selected, Select event is raised 3 times
http://forums.ext.net/attachment.php...id=23071&stc=1
Raised 5 times when the second one is selected.
http://forums.ext.net/attachment.php...id=23081&stc=1
If we have a third item, Select event would be raised 7 times
Code:
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
</head>
<body>
<ext:ResourceManager Theme="Crisp" runat="server" ScriptMode="Debug" />
<ext:TagField Margin="10" Width="300" HideSelected="true" runat="server">
<Items>
<ext:Tag Text="Ext.NET" Value="1" />
<ext:Tag Text="Bridge.NET" Value="2" />
</Items>
<Listeners>
<Select Handler="window.console.log(Ext.String.format('select - {0}', new Date()));" />
</Listeners>
</ext:TagField>
</body>
</html>
The same happens to Change event.
http://forums.ext.net/attachment.php...id=23091&stc=1
http://forums.ext.net/attachment.php...id=23101&stc=1
Code:
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
</head>
<body>
<ext:ResourceManager Theme="Crisp" runat="server" ScriptMode="Debug" />
<ext:TagField Margin="10" Width="300" HideSelected="true" runat="server">
<Items>
<ext:Tag Text="Ext.NET" Value="1" />
<ext:Tag Text="Bridge.NET" Value="2" />
</Items>
<Listeners>
<Change Handler="window.console.log(Ext.String.format('change - {0}', new Date()));" />
</Listeners>
</ext:TagField>
</body>
</html>