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