Manually input date not updating calendar
-
This seems to be just a general bug with the Events calendar. I was running into the issue while developing a website, and then was able to reproduce the bug on the official Demo site, listed on the Events Calendar website (https://wpshindig.com/events/month/).
On that demo, here are the steps to reproduce the issue:
(I’m currently using Chrome, but I don’t believe it’s pertinent)1) Go to the Month View
2) Click within the “EVENTS IN” field, but don’t click a date.
3) Manually type in a date
4) Press the “FIND EVENTS” button.You’ll notice that the ajax request will be made, and the calendar will reload, but it will not reflect the date that you input, rather it will stay the same date.
After doing some digging, I found that within the src/resources/js/tribe-events-ajax-calendar.js file (or .min.js), when the
tribe_events_calendar_ajax_post
function is run, withints.params
theeventDate
parameter will reflect the changed date, but thetribe-bar-date
parameter will remain the same unless the date selector is used. I can not for the life of me figure out how to make thetribe-bar-date
parameter reflect the manually input date, but I’m almost certain that that is the reason the calendar is not updating properly.I hope someone who knows their way around the Events Calendar infrastructure will have better luck than I in troubleshooting this issue.
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Manually input date not updating calendar’ is closed to new replies.