Forum Replies Created
-
AuthorPosts
-
Austin Passy
ParticipantSo the answer is no. I will modify the query based on the current object.
Austin Passy
ParticipantThanks, this better represents our fields: https://pastebin.com/6f5KKpmA
But I can't create (for testing purposes) ALL the fields across 20+ post types we have that also have conditions. At the current time, it seems the fields I have shared are the only ones affected, so I will continue to look into what the culprit might be.
Note that our option is an int value, and it only seems to be an issue with
1so might first thought was a boolean conversion issue with wp_json_encode.Thanks for looking. We are not using Oxygen btw.
Austin Passy
ParticipantDiff comparison: https://imgur.com/a/0u8ezns
Austin Passy
ParticipantOkay, I have tracked it down to the changes in the meta-box-conditional-logic class
MB_Conditional_Logicfrom<script type="html/template"to<template.At this point I do not know why that is was is breaking my condition, but will have to look into it next week. If you have some insight to add hear please leave your comments.
Austin Passy
ParticipantThanks, but that is not the case here. I was toggling it on and off just for the video.
As soon as I revert down to AIO 1.15.3, there is no issue. 1.15.5 there is.
Austin Passy
ParticipantAny update on this? Field group validations would be a great addition.
March 15, 2021 at 11:44 PM in reply to: ✅Builder breaks when adding Divider field (in a Group) #24938Austin Passy
ParticipantVideo: https://webmshare.com/XEb3J
March 15, 2021 at 11:29 PM in reply to: ✅Builder breaks when adding Divider field (in a Group) #24937Austin Passy
ParticipantUpdate: I noticed the extra divider that got added to the ending array (I did not add that in the builder). I removed it and the setting page still broke. I then removed the diver in the field group and the page loaded again.
Austin Passy
ParticipantVideo walk through (expires in 7 days): https://webmshare.com/rVW6x
Austin Passy
ParticipantI 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.
Thanks.
February 27, 2021 at 2:37 AM in reply to: ✅jQuery.Deferred exception: options.ajax is undefined #24654Austin Passy
ParticipantThis is an issue with changes in WordPress 5.6. I have changed my post field type from advanced_select with ajax set to false to a standard post select field type to bypass this issue. Since the current fields only have a few options it's OK.
Will keep an eye out of we run into this in the future though as it's not solved. Just used a workaround.
Austin Passy
ParticipantI 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.
Austin Passy
ParticipantI see the following console log (warning):
JQMIGRATE: jQuery.isNumeric() is deprecated jquery-migrate.js:100:12
console.trace() jquery-migrate.js:102:13
jQuery 2
isLogicCorrect https://.../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:279
isLogicCorrect https://.../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:224
runConditionalLogic https://...wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:182
jQuery 2
runConditionalLogic https://.../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:177
<anonymous> https://.../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:595
jQuery 9
<anonymous> https://.../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:594
<anonymous> https:/.../wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1.5:604
<code></code>Austin Passy
ParticipantAustin Passy
ParticipantConfirmed 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?
-
AuthorPosts