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

Date not returned from clickEvents.click #18

Closed
dannyfritz opened this issue Oct 2, 2013 · 5 comments
Closed

Date not returned from clickEvents.click #18

dannyfritz opened this issue Oct 2, 2013 · 5 comments

Comments

@dannyfritz
Copy link

my target in the click handler has a null date.

clickEvents: {
    click: function(target) {
        console.log(target.date);
    }
}
@kylestetz
Copy link
Owner

Could you provide a little more context? When you click on an empty day the date will be set to null.

@dannyfritz
Copy link
Author

Ah, empty as in no events? I'm trying to create a datepicker input, so no events are provided. If this isn't enough context I can cook up a jsfiddle.

@dannyfritz
Copy link
Author

Related to #9

@dannyfritz
Copy link
Author

Fixed, I was missing id="<%= day.id %>" in the .day template.

@kylestetz
Copy link
Owner

Oh okay. Glad you figured it out. let me know if you have any other questions!

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

No branches or pull requests

2 participants