Moving to a new thread, since topic/conditional-logic-seems-broken-since-update was marked as closed.
Here it is as best I could encode the complete array: https://gist.github.com/thefrosty/15a86daf1bfcffc7d319fcde10ab5581
I’ve also have a video showing the complex fields and how it is working: (expires in 7 days) https://webmshare.com/play/AWPGQ
I have confirmed the following:
Broken on WordPress 5.6.2 with MB: 5.3.8 & AIO: 1.13.3
Working on WordPress 5.5.x with MB: 5.3.8 & AIO: 1.11.19
Need to figure out if a WordPress 5.6.x or AIO > 1.11.19 issue.
Confirmed working on WordPress 5.5.3 with MB: 5.3.8 & AIO: 1.13.3. So more than likely related to some of the JS changes that came in WordPress 5.6.x, will need to look at the 5.6 Field Guide.
Maybe related to: ticket/52440?
I see the following console log (warning):
JQMIGRATE: jQuery.isNumeric() is deprecated jquery-migrate.js:100:12
I've tested to run your code on my local site but not see any issue. Screen record https://share.getcloudapp.com/ApuRDAdR.
Look at your screen record, I do not see the error text "This field is required." under the empty field.
Can you please re-test your case in a fresh install of WordPress and Meta Box?
I can confirm it's an issue with WordPress 5.6 with Polylang PRO installed. Still unclear as to the underlying issue. Will confirm as I know more in the coming weeks.
I have tracked down the underlying issue. In WordPress 5.6 (as mentioned above in the steps where it's broken vs working) having a hidden wysiwyg field blocks the publication when that field type is set to required as post meta. Until I toggle the option that shows the wysiwyg and then re-hides it will unblock the validation of required blocker.
Let me try to get a video attached and follow up if it would help. I will also try to see what might have changed from core WP 5.5.x to 5.6.x with the wp_editor.