From ec8a4ec013786f952b4a27e0d269727a54ede7ed Mon Sep 17 00:00:00 2001 From: Spencer Torres Date: Fri, 15 Dec 2023 15:17:09 -0500 Subject: [PATCH] disable editing header name when secure configured --- src/components/configEditor/HttpHeadersConfig.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/configEditor/HttpHeadersConfig.tsx b/src/components/configEditor/HttpHeadersConfig.tsx index 87e7a997..d9e43a65 100644 --- a/src/components/configEditor/HttpHeadersConfig.tsx +++ b/src/components/configEditor/HttpHeadersConfig.tsx @@ -124,6 +124,7 @@ const HttpHeaderEditor = (props: HttpHeaderEditorProps) => { data-testid={selectors.headerNameInput} width={40} value={name} + disabled={isSecureConfigured} placeholder={labels.headerNamePlaceholder} onChange={(e: ChangeEvent) => setName(e.target.value)} onBlur={() => onUpdate()}