⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Datepicker 'Today' button doesn't work



HumbleMonk
  • profile picture
  • Member

Posted 26 April 2012 - 15:55 PM

I have a date field in my grocery CRUD which correctly gets identified as a date field and displays the datepicker when clicking in the input box. Clicking on the dates inserts the dates inserts them in the input field as expected. The only problem is that clicking the today button doesn't do anything.

Is this by design or simply a bug?

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 26 April 2012 - 20:42 PM

Actually it is not a bug. The today is working but you have to select the date. So for example let's say we have this:
[attachment=135:calendar1.png] (6 Jan 2003)
and you press the today button you will see that it is not selected but it goes to the today's date:
[attachment=136:calendar2.png]
Only if you press the button (In our case 26 April 2012)
[attachment=137:calendar3.png]
It will chose the today's date.

HumbleMonk
  • profile picture
  • Member

Posted 27 April 2012 - 02:04 AM

Ah, I see, thanks

Do you know where I can dig around in the styles to change the selected color? The light yellow on gray doesn't stand out much.

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 April 2012 - 06:19 AM

assets/grocery_crud/css/ui/simple/jquery-ui-1.8.10.custom.css