datetime field error

Support General datetime field errorResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15722
    candoremcandorem
    Participant

    Uncaught ReferenceError: _ is not defined
    at datetime.js:78

    } )( 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(
    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,
    ),
    ),
    );

    #15726
    Anh TranAnh Tran
    Keymaster

    Hi, this bug is fixed here. New version of Meta Box will come next week.

    #15758
    candoremcandorem
    Participant

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.