[flexcoders] Flex2: DateField formatFunction bug

2006-02-27 Thread Benoit Hediard
I've encountered this annoying bug today. When using the formatFunction attribute of DateField, when the component looses its focus, it erases the date text field. To reproduce the problem, simply execute the following code from LiveDocs, select a date and move the focus to the other text input:

Re: [flexcoders] Flex2: DateField formatFunction bug

2006-02-27 Thread Alberto Albericio Salvador
I found the same bug some weeks ago. I cant use the formattingFunction and I hope it gets fixed soon Alberto Albericio Salvador Aura S.A. Seguros Departamento Informática Benoit Hediard escribió: I've encountered this annoying bug today. When using the formatFunction attribute of DateField,

Re: [flexcoders] Flex2: DateField formatFunction bug

2006-02-27 Thread Dima Ulich
I don't know if it's a bug. I think it only happens if you are not using English standart dates (MM/DD/). To use different type of dates you need set a parsing function here is an example: //date parse function private function pDate(data:String,inp:String):Date {