Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On datepicker, today is not highlighted #170

Closed
camilosw opened this issue Apr 17, 2013 · 9 comments
Closed

On datepicker, today is not highlighted #170

camilosw opened this issue Apr 17, 2013 · 9 comments
Assignees
Labels

Comments

@camilosw
Copy link

On the datepicker, current day has the class ui-state-highlight but it's not highlighted.

On jquery ui css, the Interaction Cues styles are after datepicker styles, but you have this before datepicker styles. Due to this changed order, ui-state-default override ui-state-highlight.

This bug is related with #114.

@gtraxx
Copy link
Member

gtraxx commented Apr 17, 2013

Could you make a screenshot so that I can identify the problem.
I'm highlighting with FF
datepicker-highlight

@ghost ghost assigned gtraxx Apr 17, 2013
@Heliosmaster
Copy link
Contributor

I also can't reproduce the problem. I have both tried in the jQueri-UI page and in a web application of mine that uses the theme, and in both cases the current day was highlighted.

@camilosw
Copy link
Author

This is a comparison with the datepicker on the jquery ui site

datepicker

As you can see, on jquery ui bootstrap today is not highlighted.

@gtraxx gtraxx closed this as completed in 3fa3460 Jun 3, 2013
@gtraxx
Copy link
Member

gtraxx commented Jun 3, 2013

Bug is fixed :)

@luchopintado
Copy link

Try this code:

$('#datepicker')
.datepicker({
    todayHighlight: true,
    ...
})

@appsmarina
Copy link

Thanks luchopintado

@iraklisg
Copy link

thanks @luchopintado, that did the trick for me as well

@tobodioya
Copy link

Thanks @luchopintado. That was helpful

@iamarsingh
Copy link

Thanks @luchopintado Code is fine but after this code picker is closing on selecting date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants