Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you provide your CMB2 configuration as well, so that we can confirm we’re debugging exactly the same fields?

    Thanks.

    Thread Starter Juan Pablo

    (@jupa8)

    Hi Michael, thanks for your time:

    Here my configuration:

    $cmb_cmb->add_field( array(
    	'name'    => __( 'Hour End', 'cmb2' ),
    	'id'      => $prefix . 'hour_end',
    	'type' => 'text_time',
    	'time_format' => 'H:i',
    	'attributes' => array(
    		'data-timepicker' => json_encode( array(
    			'timeOnlyTitle' => __( 'Choose your Time', 'cmb2' ),
    			'timeFormat' => 'HH:mm',
    		)),
    	),
    ) );
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Definitely managing to recreate, but don’t have a solution at hand at the moment. My initial hunches are javascript related. For example the buttons for “now” and “done” are also losing their styling which ideally shouldn’t be happening.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t empty text_date field’ is closed to new replies.