From 9191ed0a44c5ec0a9770657fd28f7293c6642cac Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 3 Sep 2024 21:27:11 +0530 Subject: [PATCH 1/2] updating the form config for MongoDB plugin to use sections and zones --- .../formControls/DynamicInputTextControl.tsx | 5 +- .../src/main/resources/editor/aggregate.json | 27 ++++--- .../src/main/resources/editor/count.json | 11 ++- .../src/main/resources/editor/delete.json | 19 +++-- .../src/main/resources/editor/distinct.json | 19 +++-- .../src/main/resources/editor/find.json | 27 +++++-- .../src/main/resources/editor/insert.json | 11 ++- .../src/main/resources/editor/raw.json | 7 +- .../src/main/resources/editor/root.json | 80 ++++++++++--------- .../src/main/resources/editor/update.json | 27 +++++-- 10 files changed, 138 insertions(+), 95 deletions(-) diff --git a/app/client/src/components/formControls/DynamicInputTextControl.tsx b/app/client/src/components/formControls/DynamicInputTextControl.tsx index 874a8c9e9e32..752dbede4233 100644 --- a/app/client/src/components/formControls/DynamicInputTextControl.tsx +++ b/app/client/src/components/formControls/DynamicInputTextControl.tsx @@ -84,7 +84,10 @@ export function InputText(props: { } } return ( -
+
{/*
*/} Date: Tue, 3 Sep 2024 21:30:35 +0530 Subject: [PATCH 2/2] updating styles for dynamic input text field --- .../src/pages/Editor/ActionForm/Zone/styles.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css b/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css index 93953ba2b370..721ced408468 100644 --- a/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css +++ b/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css @@ -47,6 +47,11 @@ } } } + /* DynamicInputTextControl min height and width removed */ + & :global(.uqi-dynamic-input-text) { + width: unset !important; + min-height: unset !important; + } /* Remove when code editor min width is resolved in DynamicTextFeildControl */ & :global(.dynamic-text-field-control) {