SOLVED: Conditional Display Logic - MB Radio

Bricks Version: 1.5.4

Not sure if intentional or a bug but when evaluating dynamic data for a Meta Box Radio, in conditional data I need to set it to the Label when Meta Box Docs state that the value is stored in the db.

Get’s a bit confusing as need to remember to equate by label rather than value.

In below images, Yes = label & db value = yes.

Meta Box Radio Docs

image

image

Hi Dan,
Thanks so much for your report!

I was able to reproduce the issue and added it to our bug tracker.

Best regards,
timmse

1 Like

Hi Dan,
We decided to keep it as it is but added a new dynamic data filter which makes it possible to compare the value instead: :value

Let me know if you are experiencing any issues.

Best regards,
timmse

Hey @timmse, thanks for the fix.

I still think the value should be the default though.

The value is usually simple, yes/no, true/false etc whereas the label could be anything. Long string, complex possibly in certain situations depending on what the radio/checkbox is.

Listing countries in a checkbox for example, what is easier and more obvious to check against, label of “South Georgia and the South Sandwich Islands” or value of “GS” or “SGS” using ISO country codes?

Just seems backwards in this form to have to add more to check against the value which would be unique whereas the label could technically be identical.