NO BUG: Radio field conditions are not working

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

Radio field is not working:

Data is printed like:
Screenshot 2024-04-20 at 19.47.52

And does not work as (when conditions definitely fulfilled)

{mb_research_select_partner} works alone.
{mb_research_partnership_summary} does not work alone.

Hi Yasmine,
Thanks so much for your report!

Please show me your Metabox field setup and the loop (?) so I can reproduce the problem if necessary.

Best regards,
timmse

Hi - any update for this. Its still not working. Here is the meta box custom fields:

<?php
add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' );

function your_prefix_function_name( $meta_boxes ) {
    $prefix = '';

    $meta_boxes[] = [
        'title'      => __( 'Sponsored summary?', 'your-text-domain' ),
        'id'         => 'sponsored-summary',
        'post_types' => ['research'],
        'fields'     => [
            [
                'name'    => __( 'Partnership summary?', 'your-text-domain' ),
                'id'      => $prefix . 'partnership_summary',
                'type'    => 'radio',
                'options' => [
                    'y' => __( 'Yes', 'your-text-domain' ),
                    'n' => __( 'No', 'your-text-domain' ),
                ],
                'std'     => 'n',
            ],
            [
                'name'              => __( 'Select partner', 'your-text-domain' ),
                'id'                => $prefix . 'select_partner',
                'type'              => 'post',
                'label_description' => __( 'A way to hide the partner from the front-end', 'your-text-domain' ),
                'post_type'         => ['partners'],
                'field_type'        => 'select_advanced',
                'visible'           => [
                    'when'     => [['partnership_summary', '=', 1]],
                    'relation' => 'or',
                ],
            ],
            [
                'name'    => __( 'Hide partner acknowledgement', 'your-text-domain' ),
                'id'      => $prefix . 'control_partner_visibility',
                'type'    => 'radio',
                'options' => [
                    'y' => __( 'Show', 'your-text-domain' ),
                    'n' => __( 'Hide', 'your-text-domain' ),
                ],
                'std'     => 'y',
                'visible' => [
                    'when'     => [['partnership_summary', '=', 'y']],
                    'relation' => 'or',
                ],
                'inline'  => false,
            ],
        ],
    ];

    return $meta_boxes;
}

Here is an example of the data:

And here are my conditions:

And here is an example of where should be working: Summary of "The Complicated Gendering of Farming and Household Food Responsibilities in Northern Ghana"

Hey Yasmine,
Sorry, I unfortunately overlooked your answer.

Please send temporary login credentials, information on where I can find the setup, and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase.

Hi @yasmine ,

As per our email conversation, this is not a bug.
Since you defined the value and label in Metabox setup, the dynamic tag will output the label by default.

Hence, you should use :value filter when comparing the value
Example
{mb_research_partnership_summary:value}
{mb_research_control_partner_visibility:value}

Regards,
Jenn