Skip to content

Commit

Permalink
fix: associate api key input with label
Browse files Browse the repository at this point in the history
  • Loading branch information
morsko1 committed Oct 3, 2023
1 parent a2e664e commit 9cb71a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/components/auth/api-key-auth.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export default class ApiKeyAuth extends React.Component {
<p>In: <code>{ schema.get("in") }</code></p>
</Row>
<Row>
<label>Value:</label>
<label htmlFor="api_key_value">Value:</label>
{
value ? <code> ****** </code>
: <Col><Input type="text" onChange={ this.onChange } autoFocus/></Col>
: <Col><Input id="api_key_value" type="text" onChange={ this.onChange } autoFocus/></Col>
}
</Row>
{
Expand Down

0 comments on commit 9cb71a3

Please sign in to comment.