View this example below. It consists of a DateField (dfDatePicker) and a Label. dfDatePicker's formatString is set to "MM/YYYY".
http://www.thegoosmans.com/datefieldproblem/TestEventHandlers.swf To observe the problem, try setting the date two times. The second time an error will occur saying that a property is null. I have tested this without a formatString on dfDatePicker and it works perfectly. In my change handler for dfDatePicker it seems that dfDatePicker's selectedDate becomes null. In this example, there is no formatString and it works perfectly. (don't try to view source, I didn't update it for this example) http://www.thegoosmans.com/datefieldproblem/TestEventHandlers2.swf You can view the source by right clicking on the SWF and clicking "View Source". I am at a loss as to why this is happening. Anyone know?