formio / vue

Javascript Powered forms and JSON form builder for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nested form. RangeError: Maximum call stack size exceeded

pkochubey opened this issue · comments

I use one drop down and one nested form.

Tested form https://korhokdpdjyirwt.form.io/second
This issue appears when you add conditions for nested forms.

formiojs 3.0, vue-formio 3.0

Form.js:82 RangeError: Maximum call stack size exceeded
    at RegExp.test (<anonymous>)
    at isKey (lodash.js:6317)
    at castPath (lodash.js:4465)
    at baseSet (lodash.js:3975)
    at Function.set (lodash.js:13675)
    at FormComponent.set (Base.js:2909)
    at FormComponent.updateValue (Base.js:2276)
    at FormComponent.setValue (Base.js:2538)
    at FormComponent.setValue (Form.js:308)
    at FormComponent.deleteValue (Base.js:2181)

latest formiojs:

RangeError: Maximum call stack size exceeded
    at RegExp.test (<anonymous>)
    at isKey (lodash.js:6317)
    at castPath (lodash.js:4465)
    at hasPath (lodash.js:6126)
    at Function.has (lodash.js:13160)
    at search (utils.js:690)
    at utils.js:697
    at lodash.js:4911
    at baseForOwn (lodash.js:2996)
    at Function.forOwn (lodash.js:13015)

latest formiojs with clear vue project:

RangeError: Maximum call stack size exceeded
    at RegExp.test (<anonymous>)
    at isKey (lodash.js:6317)
    at castPath (lodash.js:4465)
    at hasPath (lodash.js:6126)
    at Function.has (lodash.js:13160)
    at search (utils.js:690)
    at getValue (utils.js:711)
    at checkSimpleConditional (utils.js:523)
    at Object.checkCondition (utils.js:613)
    at FormComponent.conditionallyVisible (Base.js:1474)