jcchavezs / cmb2-conditionals

Plugin to relate fields in a CMB2 metabox
GNU General Public License v2.0
85 stars 61 forks source link

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

Closed pgroot91 closed 4 years ago

pgroot91 commented 4 years ago

Eg: Conditional value key = BROMFIETS and FIETS.

If FIETS both conditional fields are returned...

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

pgroot91 commented 4 years ago

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.

pgroot91 commented 4 years ago

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

Was testing conditional-logic.

This plugin seems to handle those cases just fine 👍