diff --git a/app/client/src/components/editorComponents/CodeEditor/index.tsx b/app/client/src/components/editorComponents/CodeEditor/index.tsx index bdd0f0ba2b..2df0dae1eb 100644 --- a/app/client/src/components/editorComponents/CodeEditor/index.tsx +++ b/app/client/src/components/editorComponents/CodeEditor/index.tsx @@ -292,9 +292,10 @@ class CodeEditor extends Component { ("dataTreePath" in this.props && !!this.props.dataTreePath)); const showBindingPrompt = - !_.isString(this.props.input.value) || - ((!this.props.input.value?.includes("{{") || !this.props.input.value) && - showEvaluatedValue); + showEvaluatedValue && + (!_.isString(this.props.input.value) || + !this.props.input.value?.includes("{{") || + !this.props.input.value); return (