[BUG] Constraints in Configuration of relationship is NOT working

Description:
During editing content relationship, the constraints are not working.

Reproduce Steps:

  1. Find a Custom Type, and click into it
  2. Add a content relationship field
  3. Add constraint to custom type or add constraint to tags
  4. Nothing happens. Meanwhile the following errors in console
    main.js:494 Uncaught TypeError: this.state is not iterable
    at Object.settings#maskbuilder#masks (main.js:494)
    at main.js:305
    at Array.forEach ()
    at HTMLBodyElement.i (main.js:305)
    at HTMLBodyElement. (main.js:305)
    at HTMLBodyElement.dispatch (jquery-2.1.0.min.js:3)
    at HTMLBodyElement.$event.dispatch (drag-tools-2.2x.js:378)
    at HTMLBodyElement.r.handle (jquery-2.1.0.min.js:3)
    (anonymous) @ main.js:494
    (anonymous) @ main.js:305
    i @ main.js:305
    (anonymous) @ main.js:305
    dispatch @ jquery-2.1.0.min.js:3
    $event.dispatch @ drag-tools-2.2x.js:378
    r.handle @ jquery-2.1.0.min.js:3
    main.js:494 Uncaught TypeError: this.state is not iterable
    at onClickOpen (main.js:494)
    at s.default.createElement.onClick (main.js:329)
    at Object.s (main.js:437)
    at p (main.js:437)
    at main.js:437
    at v (main.js:437)
    at at (main.js:437)
    at it (main.js:437)
    at st (main.js:437)
    at pt (main.js:437)
    at j (main.js:437)
    at $ (main.js:437)
    at Zt (main.js:437)
    at Xt (main.js:437)
    at t.unstable_runWithPriority (main.js:445)
    at Gi (main.js:437)
    at D (main.js:437)
    at Kt (main.js:437)

1 Like