Jan 09, 2018, 2:45 AM
[CLOSED] editable combo on touch issue
In my app, i have this exact combo. When i click the trigger to expand dropdown (on touch), it flashes and closes right away. i cant get the thing to open at all. If i replace my store with a static store, it works fine. only fails on a store with a proxy.
Then controller just returns a list of objects that have id/description. pretty trivial so i didnt include it.
/Z
Then controller just returns a list of objects that have id/description. pretty trivial so i didnt include it.
/Z
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head id="Head2" runat="server">
<title>Test</title>
</head>
<body>
<ext:ResourceManager ID="ResourceManager2" runat="server" />
<ext:Viewport ID="Viewport1" runat="server" Layout="VBoxLayout">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:Window
ID="WindowChooseCC7"
runat="server"
Icon="ApplicationFormAdd"
Width="400"
AutoHeight="true"
Modal="true"
Title="Select..."
Constrain="true">
<Items>
<ext:FormPanel
ID="FormPanelChooseCC7"
runat="server"
Layout="FormLayout"
BodyPadding="5"
>
<Items>
<ext:Hidden ID="TextFieldCC7ChooserUrl" runat="server" />
<ext:Hidden ID="TextFieldCC7Name" runat="server" />
<ext:ComboBox ID="ComboBoxCC7Chooser"
runat="server"
Padding="5"
DisplayField="description"
TypeAhead="false"
ValueField="id"
EmptyText="Select an item"
PageSize="10"
Width="200"
FieldLabel="Cost Center 7"
MinChars="1" >
<Store>
<ext:Store ID="StoreChooseCC" runat="server" AutoLoad="true">
<Proxy>
<ext:AjaxProxy Url="/Search/FindCCs">
<ActionMethods READ="GET" />
<Reader>
<ext:JsonReader IDProperty="id" RootProperty="data" TotalProperty="total"/>
</Reader>
</ext:AjaxProxy>
</Proxy>
<Model>
<ext:Model IDProperty="id" runat="server">
<Fields>
<ext:ModelField Name="id" Type="Int" />
<ext:ModelField Name="description" Type="String" />
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
</ext:ComboBox>
</Items>
</ext:FormPanel>
</Items>
</ext:Window>
</Items>
</ext:Viewport>
</body>
</html>