- This topic has 0 replies, 1 voice, and was last updated 11 months, 2 weeks ago by .
I have a problem with setting default value on radio field with MB Blocks.
The field declaration seems to be OK:
[ 'name' => esc_html__( 'Choose type', 'my-mb' ), 'id' => 'resource-type', 'type' => 'radio', 'options' => [ 'link' => esc_html__( 'Link', 'my-mb' ), 'attachment' => esc_html__( 'Attachment', 'my-mb' ), ], 'std' => 'link', ],
Unfortunately, no option is chosen when I insert the block (also in new post).
- You must be logged in to reply to this topic.