Description
When changing the value of the select field condition.type, the function getFieldNumber(field) is called six times. On the fourth and sixth calls, the field parameter is set to undefined. Consequently, the dependent field does not appear as expected.
A simplified schema is provided below.
Function:
function getFieldNumber(field: any) {
console.log("getFieldNumber ~ field:", field)
if (field) {
return field.name;
}
}
Based on my debugging attempts, the issue is located in parse-condition.js:86, where parseCondition is called without field parameter.
Scope: Form renderer
Description When changing the value of the select field
condition.type
, the functiongetFieldNumber(field)
is called six times. On the fourth and sixth calls, the field parameter is set toundefined
. Consequently, the dependent field does not appear as expected.A simplified schema is provided below.
Function:
Based on my debugging attempts, the issue is located in
parse-condition.js:86
, whereparseCondition
is called withoutfield
parameter.Schema