diff --git a/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx b/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx index 9e1e656951..0e4b48cb98 100644 --- a/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx +++ b/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx @@ -297,16 +297,14 @@ export const KeyValueEditor: FC = ({ const isPairDisabled = !!readOnlyDisabledByName?.[lowerName]; let valueEditor = ( -
- handleGetAutocompleteValueConstants?.(pair) || []} - onChange={() => {}} - /> -
+ handleGetAutocompleteValueConstants?.(pair) || []} + onChange={() => {}} + /> ); if (isFile) { @@ -337,7 +335,8 @@ export const KeyValueEditor: FC = ({ return (
= ({ >
-
+
= ({ onChange={() => {}} />
- {valueEditor} - {pair.canDisable && onReadOnlyDisabledChange ? ( - onReadOnlyDisabledChange(lowerName, !isSelected)} - isSelected={!isPairDisabled} - > - - - ) : ( -