Custom Fields
Re-Envisioned
Support Meta Box Conditional Logic TypeError: logics is undefined

  • Creator
    Topic
  • #18497
    Resolved Austin Passy
    Participant

    TypeError: logics is undefinedconditional-logic.js:221:18

    You should check for the logics object before sub checks, like:

    var relation = typeof logics !== 'undefined' && typeof logics.relation !== 'undefined' ? logics.relation.toLowerCase() : 'and',
                success = relation === 'and';
Viewing 21 replies (of 21 total)
  • Author
    Replies
  • #19387
    Anh Tran
    Keymaster

    Thank you!

    I’ve released a new version for Meta Box Conditional Logic. The update for AIO will come next week.

Viewing 21 replies (of 21 total)
  • You must be logged in to reply to this topic.