console: add autocomplete off to api explorer headers editor inputs

[DSF-483]: https://hasurahq.atlassian.net/browse/DSF-483?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9924
GitOrigin-RevId: 93d7351610b4e72ce4147018a368667cda625f61
This commit is contained in:
Nicolas Inchauspe 2023-07-25 11:19:09 +02:00 committed by hasura-bot
parent 1b026af1cd
commit 74a0165205

View File

@ -398,12 +398,14 @@ class ApiRequest extends Component {
disabled={header.isDisabled === true}
data-header-id={i}
placeholder="Enter Key"
name="key"
data-element-name="key"
onChange={onHeaderValueChanged}
onFocus={handleFocus}
onBlur={handleBlur}
type="text"
data-test={`header-key-${i}`}
autoComplete="off"
/>
</td>
);
@ -428,12 +430,14 @@ class ApiRequest extends Component {
disabled={header.isDisabled === true}
data-header-id={i}
placeholder="Enter Value"
name="value"
data-element-name="value"
onChange={onHeaderValueChanged}
onFocus={handleFocus}
onBlur={handleBlur}
data-test={`header-value-${i}`}
type={type}
autoComplete="off"
/>
</td>
);