@@ -65,9 +70,9 @@ export default function ParameterPane() {
mode="sql"
ref={textAreaRef}
theme="monokai"
- value={formik.values.expressionEditorValue}
+ value={formik.values.expression}
onChange={(value) => {
- formik.setFieldValue("expressionEditorValue", value);
+ formik.setFieldValue("expression", value);
}}
onLoad={(aceEditor) => {
// On load we want to tell the ace editor that it's inside of a scrollabel page
@@ -93,8 +98,9 @@ export default function ParameterPane() {
Clear
diff --git a/src/CqlBuilderPanel/Parameters/Parameters.tsx b/src/CqlBuilderPanel/Parameters/Parameters.tsx
index 56b9c672..58c03e12 100644
--- a/src/CqlBuilderPanel/Parameters/Parameters.tsx
+++ b/src/CqlBuilderPanel/Parameters/Parameters.tsx
@@ -3,14 +3,16 @@ import ParametersNavTabs from "./ParamatersNavTabs";
import ParameterPane from "./ParameterPane";
import "./Parameters.scss";
-export default function Parameters() {
+export default function Parameters({ handleApplyParameter }) {
const [activeTab, setActiveTab] = useState("parameters");
return (