Support › Meta Box Group › std value for radio not considered on cloneResolved
Please consider the following field:
'id' => $prefix . 'radio_w1rh3xgybz',
'name' => esc_html__( 'Business address source', 'text-domain' ),
'type' => 'radio',
'std' => 'organisation_this',
'options' => array(
'organisation_this' => esc_html__( 'This organisation', 'text-domain' ),
'organisation_other' => esc_html__( 'Other organisation', 'text-domain' ),
'home' => esc_html__( 'Home address', 'text-domain' ),
'inline' => 1,
'required' => 1,
'visible' => array(
'when' => array(
0 => 'contact_post_4jdje2047jy',
1 => '!=',
2 => '',
'relation' => 'and',
That field is located within a group that can be cloned. std is only taken into account for the first dataset, not for clones. I'm on WordPress 5.3.3 with current Meta Box downloaded today.
Behaviour can be seen here: https://www.dropbox.com/s/90azf5usgoct216/metabox-radio.mp4?dl=0
Selects have the same problem.
I've tested the default value with the cloneable items and realize it is a bug. I also open an issue for the developer team to fix this bug in the next update as soon as possible.
Thanks for your patience.
Is this bug fixed yet?
Please update the plugin Meta Box to the newest version 5.3.2 and other extensions to fix this issue and get new features/options.