flatpickr conflict
-
Starting with wp-sms version 6.6.2, there appears to be a conflict with flatpickr in the wp-sms plugin and flatpickr in the events-manager plugin. Both plugins load flatpickr into the global window.flatpickr, and some conflict between the two is causing a date input in an events-manager admin form to be empty on page load (initial value not shown). There is no conflict when rolled back to wp-sms 6.6.1.
Would it be possible for you to fix this, perhaps with some combo of:
1) load wp-sms’s flatpickr only on pages where it’s needed
2) load wp-sms’s flatpickr into its own “namespace”/variable – something other than window.flatpickr
3) change wp-sms’s initialization to make sure its flatpickr only affects DOM elements generated by wp-smsThanks!
- You must be logged in to reply to this topic.