diff --git a/forms-flow-web/src/components/Modals/TaskVariableModal.js b/forms-flow-web/src/components/Modals/TaskVariableModal.js index f19440fbc..32bec57e9 100644 --- a/forms-flow-web/src/components/Modals/TaskVariableModal.js +++ b/forms-flow-web/src/components/Modals/TaskVariableModal.js @@ -86,6 +86,13 @@ const FormComponent = React.memo( const data = _.cloneDeep(form); const manipulatedKeys = []; Utils.eachComponent(data.components,(component)=>{ + // remove display (show/hide) conditions for showing the component in taskvariable modal + /* --------------------------- ------------------ --------------------------- */ + component.conditional = {}; + component.customConditional = ""; + component.logic = []; + component.hidden = false; + /* ---------------------------------- ---- ---------------------------------- */ //Keys ignored for the default task variable that don't need to be displayed in the form. if(component.type == "hidden" && !ignoreKeywords.has(component.key)){ component.type = "textfield";