CMB2-Snippet-Library icon indicating copy to clipboard operation
CMB2-Snippet-Library copied to clipboard

type select with attribute multiple not working on widget snippet

Open rubengc opened this issue 8 years ago • 1 comments
trafficstars

I tried to set up a this field using the cmb2 widget snippet without luck to get it working

The field definition is:

array(
    'name'        => 'Test',
     'type'        => 'select',
     'multiple'    => true,
     'options'  => array(
         '1'  	=> __( 'Option 1' ),
         '2'  	=> __( 'Option 2' ),
        '3' 	=> __( 'Option 3' )
),

I always got the default value :/

rubengc avatar Jul 10 '17 16:07 rubengc

Issue comes from CMB2 https://github.com/CMB2/CMB2/issues/995

rubengc avatar Jul 12 '17 05:07 rubengc