diff --git a/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx b/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx index f70ccd5565..351b348e43 100644 --- a/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx +++ b/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx @@ -108,7 +108,7 @@ const DynamicDropdownFieldWrapper = styled.div` const expected = { type: FIELD_VALUES.API_ACTION.params, - example: "", + example: "string", autocompleteDataType: AutocompleteDataType.STRING, }; diff --git a/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx b/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx index 8d68d95251..ab460e1b0f 100644 --- a/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx +++ b/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx @@ -50,7 +50,7 @@ type Props = PostDataProps; const expectedPostBody: CodeEditorExpected = { type: FIELD_VALUES.API_ACTION.body, - example: "", + example: '{\n "color":"blue",\n "isVisible": true \n}', autocompleteDataType: AutocompleteDataType.OBJECT, };