jcchavezs / cmb2-conditionals

Plugin to relate fields in a CMB2 metabox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conditional values are returning all matching values instead of exact matches.

pgroot91 opened this issue · comments

Eg: Conditional value key = BROMFIETS and FIETS.

If FIETS both conditional fields are returned...

Cases:
'Bakfiets' <> 'fiets',
'xl' <> 'l',
'11' <> '1',
'B,E' <> 'E'

Also have the same with the 'B,E' and 'D,E'.... 'B', 'D' and 'E'.

Will double check the demo.... but the demo/example with the following: xs, s, l, xl etc etc should fail too. when you set eg xl as data-conditional-value. so that field will also popup on l.

Oops was testing the wrong plugin! I'm so sorry!

Was testing conditional-logic.

This plugin seems to handle those cases just fine 👍