-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.0 Alpha 1
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE, 7.0.0 Alpha 1
-
Component/s: ~ [Archived] Frontend Infrastructure
-
Labels:
-
Environment:Tested on Firefox and Chrome
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:12
-
Git Pull Request:
Steps to reproduce:
1. Copy the following text into an .html file:
<html> <head> <script src="http://cdn.alloyui.com/2.0.0/aui/aui-min.js"></script> <link href="http://cdn.alloyui.com/2.0.0/aui-css/css/bootstrap.min.css" rel="stylesheet"></link> </head> <body> <br /> <input id="input" type="text" /> <script type="text/javascript"> // <![CDATA[ YUI().use('aui-datepicker', function(A) { var datePicker = new A.DatePicker({ popover : { zIndex : 1000 }, calendar : { minimumDate : new Date(2014, 0, 1), maximumDate : new Date(2014, 2, 1) }, trigger : "#input" }); }); // ]]> </script> </body> </html>
2. Click into the input textbox.
3. After the datePicker pops up, select the minimum date of January 1st in 2014.
4. Click into the input textbox again.
If the bug still exists, the date will disappear from the textbox. Note that when repeating these steps for any other date (including the maximum date), the date will stay in the textbox when the user clicks in it a second time.