Conditions are not working the same starting at version 3.4.0 #16584
mottibendavid
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
``The code include one switcher control and 4 select2 controls with multiple set to true
when the switcher is set to on all the select2 controls should be visible
If one of the select2 is filled in all other select2 controls should be hidden,
if it's empty again all select2 controls should be seen again.
The idea is to prevent from filling information in more than one select2 control
This stopped working on v3.4.0 (on v3.3.1 it's worked)
`
public function register_controls($element, $args ) {
Following the github compare i saw there were changes to the conditions.js file but I can't understand why this does not work any more
Beta Was this translation helpful? Give feedback.
All reactions