CMB2-Snippet-Library
CMB2-Snippet-Library copied to clipboard
type select with attribute multiple not working on widget snippet
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 :/
Issue comes from CMB2 https://github.com/CMB2/CMB2/issues/995