Jan 09, 2014, 10:25 PM
[CLOSED] Visual Errors for Two text fields with SelectOnFocus = true
Hello,
Using the code below, there is visual errors when SelectOnFocus is set to true for textfields. This only happens in Chrome. To reproduce:
1. Click on Field B.
2. Click anywhere outside your browser.
3. Click on Field A. (Right away, without having to click on the active browser)
I'm using ExtJS version 4.2.1.883 with Ext.net version 2.2.0.
Using the code below, there is visual errors when SelectOnFocus is set to true for textfields. This only happens in Chrome. To reproduce:
1. Click on Field B.
2. Click anywhere outside your browser.
3. Click on Field A. (Right away, without having to click on the active browser)
I'm using ExtJS version 4.2.1.883 with Ext.net version 2.2.0.
<html>
<head id="Head1" runat="server">
<title>The Test Page </title>
<script type="text/javascript">
</script>
</head>
<body>
<form runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Namespace="" />
<ext:Panel ID="Panel1" runat="server" Title="Text Fields with Select On Focus" Width="800"
Height="600" Layout="FormLayout">
<Items>
<ext:TextField runat="server" FieldLabel="Field A" Text="Example Text" SelectOnFocus="true">
</ext:TextField>
<ext:TextField runat="server" FieldLabel="Field B" SelectOnFocus="true">
</ext:TextField>
</Items>
</ext:Panel>
</form>
</body>
</html>
Last edited by Daniil; Jan 21, 2014 at 4:41 AM.
Reason: [CLOSED]