View Full Version : DatePicker cannot return the right date

28 Jun 2009, 6:12 PM
In the current implementation, when i move the month , I'll see a new date with highlight background which make me feel i have selected a day. but when i call getValue, i still get the old day. you have to make a click to the highlight date. it make most of people confuse.

I check the source code, and find we can use the activeDate to get the right date, but this value is private. i have modified the source code.

Is there any possible to fix this ? or some simple way can get the right value without stupid click.