[ https://issues.apache.org/jira/browse/FLEX-20370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-20370. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.10.0 Checked into develop branch. Mustella test pass. > DateField do not honor min or maxYear setting. > ---------------------------------------------- > > Key: FLEX-20370 > URL: https://issues.apache.org/jira/browse/FLEX-20370 > Project: Apache Flex > Issue Type: Bug > Components: mx: DateField > Affects Versions: Adobe Flex SDK 3.3 (Release) > Environment: Affected OS(s): Windows > Affected OS(s): Windows XP > Browser: Firefox 3.x > Language Found: English > Reporter: Adobe JIRA > Labels: easyfix, easytest > Fix For: Apache Flex 4.10.0 > > > The problem comes in when a user uses the min/maxYear attributes. If they are > set it is supposed to set min and max points on the date picker. What is > happening is that a user can enter a date outside of these boundires and the > date picker will show it. > Steps to reproduce: > Here is an example: > User sets the following > _departField.maxYear = 2015; > _departField.minYear = 2009; // **** Bug here will roll back before 2009 > different CQ _departField.showToday = false; _departField.editable = true; > From the UI if you open the datepicker it will only advance to 2015. If you > then edit the date in the dateField to 2016 the date picker will show it > Actual Results: > DateField do not honor min/max year setting. You can enter year above the max > limit. > > Expected Results: > Validate and restrict the year to the max limit. > > Workaround (if any): > > Perhaps overriding the class to add a validator. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira