Title: Gridview date selectors
Last modified: August 20, 2016

---

# Gridview date selectors

 *  Resolved [guiniveretoo](https://wordpress.org/support/users/guiniveretoo/)
 * (@guiniveretoo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/gridview-date-selectors/)
 * Hi There ModernTribe!
 * I just found a bit of a bug when using this plugin with the Uniform JS library(
   [Uniformjs.com](http://uniformjs.com/)). It adds wrappers around any form elements,
   and messes up your datepicker dropdown script. Instead of returning “[http://example.com/events/2012-10&#8221](http://example.com/events/2012-10&#8221);
   it returns “[http://example.com/events/undefined2012-10&#8221](http://example.com/events/undefined2012-10&#8221);.
 * On line 50 of the events.js file, there’s a line that looks like this:
 * `baseUrl = $(this).parent().attr("action");`
 * Because Uniform.js wraps inputs and selectors in divs (so it can replace them
   with pretty-looking spans), the ‘parent’ of doesn’t have an ‘action’ when this
   happens. A solution to this is to replace that line with this:
 * `baseUrl = $(this).closest('form').attr("action");`
 * Hope this helps someone else!
 * [http://wordpress.org/extend/plugins/the-events-calendar/](http://wordpress.org/extend/plugins/the-events-calendar/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Samuel Estok](https://wordpress.org/support/users/faction23/)
 * (@faction23)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/gridview-date-selectors/#post-3162626)
 * Thanks for the note! I’ve modified the baseurl to go with id of form to guarantee
   we get it right. 😉 Goes into 3.0.
 *  [Rob La Gatta](https://wordpress.org/support/users/roblagatta/)
 * (@roblagatta)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/gridview-date-selectors/#post-3162657)
 * Just wanted to follow-up to say thanks for the suggestion here, guiniveretoo.
   As Sam noted in his follow-up we’ve adjusted the code so this gets fixed in the
   3.0 release, which we’re working on now and should have out over the next few
   months.
 * Going to mark this Resolved since it seems we’re set in the short-term, but please
   let us know if you need anything else in the future. Thanks again for your use
   of The Events Calendar.
 *  Thread Starter [guiniveretoo](https://wordpress.org/support/users/guiniveretoo/)
 * (@guiniveretoo)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/gridview-date-selectors/#post-3162658)
 * Sounds good! Glad I could help 🙂
 *  [Rob La Gatta](https://wordpress.org/support/users/roblagatta/)
 * (@roblagatta)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/gridview-date-selectors/#post-3162669)
 * Thanks again for your support!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Gridview date selectors’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [dropdowns](https://wordpress.org/support/topic-tag/dropdowns/)

 * 4 replies
 * 3 participants
 * Last reply from: [Rob La Gatta](https://wordpress.org/support/users/roblagatta/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/gridview-date-selectors/#post-3162669)
 * Status: resolved