-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.x, master
-
Fix Version/s: 2.0.x, master, master-deprecated, 2.0.0.62-deprecated, 3.1.x
-
Component/s: DatePicker
-
Labels:None
-
Environment:Tested on Firefox and Chrome
-
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.
- relates
-
LPS-58056 Date disappears from input textbox when choosing the minimumDate from the DatePicker
- Closed