Repeatable Date Won't Save
-
I asked about this back in May and I would like to use this on an upcoming project but it hasn’t been resolved yet and I’m wondering if any progress has been made.
The issue is that if you have a repeatable date/time combo group, the extra rows vanish and the one remaining date displays the current date/time instead when you save the post.
This is my code for the metabox itself, but it looks different than the first time I asked this – think an update must have changed it but all of my other metaboxes work perfectly. Am I doing something wrong?
$cmb_demo->add_field( array( 'name' => __( 'Test Date/Time Picker Combo (UNIX timestamp)', 'cmb2' ), 'desc' => __( 'field description (optional)', 'cmb2' ), 'id' => $prefix . 'datetime_timestamp', 'type' => 'text_datetime_timestamp', 'repeatable' => true, ) );
This ticket was opened at the time but it doesn’t look like anything has been done on it.
https://github.com/WebDevStudios/CMB2/issues/330
Please help! I did figure out a workaround but it’s clumsy and I was hoping I could use this for my new project.
- The topic ‘Repeatable Date Won't Save’ is closed to new replies.