Getting date from date picker

9 views
Skip to first unread message

chiefupstart

unread,
Mar 13, 2012, 6:42:43 PM3/13/12
to chico-ui
Hello,

Thanks for the great UI library, guys! I'm struggling trying to
figure out how to get the selected date from the datePicker widget.
Any suggestions would be greatly appreciated. Thanks again!

Jeff

Hernán Mammana

unread,
Mar 15, 2012, 9:32:40 AM3/15/12
to chic...@googlegroups.com
Hi Jeff, 

You can get the selected date using the select() method. But it has a bug now. 
One solution could be:

datePicker.select().element.value

The issue is now in GitHub, you can follow it in https://github.com/mercadolibre/chico/issues/564

Please feel free to report a bug. The following link is a short How-to guide.

Hernán M.
Reply all
Reply to author
Forward
0 new messages