Jul 30, 2013, 3:00 PM
[OPEN] [#313] Using ComboBox with SelectOnFocus and SelectOnTab is causing a deadlock(Webkit Browsers)
Hi,
If I use a ComboBox in a FormPanel where the next Item is another ComboBox, its causing something like a deadlock.
I dont know if this is a bug or If you cant use these both properties together set at true.
Please see my demo code, click into the first ComboBox, remove the text, Select "Item 1" or "Item 2" by using keypad up/down and press tab
If I use a ComboBox in a FormPanel where the next Item is another ComboBox, its causing something like a deadlock.
I dont know if this is a bug or If you cant use these both properties together set at true.
Please see my demo code, click into the first ComboBox, remove the text, Select "Item 1" or "Item 2" by using keypad up/down and press tab
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
</script>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:FormPanel runat="server">
<Items>
<ext:FieldSet ID="FieldSet3" runat="server"
Flex="1"
Title="Details"
Layout="AnchorLayout"
DefaultAnchor="100%">
<Defaults>
<ext:Parameter Name="HideEmptyLabel" Value="false" Mode="Raw" />
</Defaults>
<Items>
<ext:ComboBox ID="ComboBox1" runat="server" Editable="true" TypeAhead="true" QueryMode="Local"
SelectOnFocus="true" DisplayField="Name"
ForceSelection="true" ValueField="Name" AnchorHorizontal="100%"
FieldLabel="ComboBox1" AllowBlank="true" AutoDataBind="true" TabIndex="16" SelectOnTab="True">
<Items>
<ext:ListItem Text="Item 1" Value="Item 1"></ext:ListItem>
<ext:ListItem Text="Item 2" Value="Item 2"></ext:ListItem>
</Items>
<SelectedItems>
<ext:ListItem Text="Item 1" Value="Item 1"></ext:ListItem>
</SelectedItems>
</ext:ComboBox>
<ext:ComboBox ID="ComboBox2" runat="server" Editable="true" TypeAhead="true" QueryMode="Local"
SelectOnFocus="true" DisplayField="Name"
ForceSelection="true" ValueField="Name" AnchorHorizontal="100%"
FieldLabel="ComboBox2" AllowBlank="true" AutoDataBind="true" TabIndex="17" SelectOnTab="True">
<Items>
<ext:ListItem Text="Item 1" Value="Item 1"></ext:ListItem>
<ext:ListItem Text="Item 2" Value="Item 2"></ext:ListItem>
</Items>
<SelectedItems>
<ext:ListItem Text="Item 1" Value="Item 1"></ext:ListItem>
</SelectedItems>
</ext:ComboBox>
<ext:TextField ID="TextField1" runat="server" FieldLabel="Text" />
</Items>
</ext:FieldSet>
</Items>
</ext:FormPanel>
</form>
</body>
</html>
Last edited by Daniil; Aug 02, 2013 at 5:52 AM.
Reason: [OPEN] [#313]