- This topic has 2 replies, 2 voices, and was last updated 2 years, 2 months ago by .
Uncaught ReferenceError: _ is not defined
} )( jQuery, _, rwmb, RWMB_Datetime );
That is the error I receive and the date picker doesn't show up.
The field is being used on a settings page which I created using your MB settings page plugin. Here is the code creating the meta field:
$meta_boxes = array(
'id' => 'event-info',
'title' => 'Event Information',
'settings_pages' => 'event-site-settings',
'fields' => array(
'name' => 'Event Date',
'id' => 'event_date',
'type' => 'datetime',
'js_options' => array(
'stepMinute' => 15,
'showTimepicker' => true,
'controlType' => 'select',
'showButtonPanel' => false,
'oneLine' => true,
'dateFormat' => 'mm-dd-yy',
'timeFormat' => 'hh:mm tt',
'inline' => false,
- You must be logged in to reply to this topic.