- This topic has 6 replies, 2 voices, and was last updated 9 months, 1 week ago by .
-
Topic
-
Hello, we want to select default only one option https://prnt.sc/s4ppih right now user able to checked two filed. we want to do that like your meta genrator select filed balue our code is
array( 'id' => $prefix .'switcher_group', 'type' => 'group', 'clone' => true, 'sort_clone' => true, 'fields' => array( // Normal field (cloned) array( 'name' => 'Value', 'id' => $prefix .'switcher_value', 'type' => 'text', 'columns' => 4, ), array( 'name' => 'Label', 'id' => $prefix .'switcher_label', 'type' => 'text', 'columns' => 4, ), array( 'id' => $prefix . 'select_default', 'name' => esc_html__( 'Checkbox', 'metabox-online-generator' ), 'type' => 'checkbox', 'columns' => 4, ), ), 'hidden' => array( $prefix . 'select', '!=', 'switch' ), ),
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.