fix: add additional autoFocus for http-auth component (#6527)
* Addendum to commit 65ea764b, in PR #6483
This commit is contained in:
@@ -74,7 +74,7 @@ export default class HttpAuth extends React.Component {
|
|||||||
<label>Username:</label>
|
<label>Username:</label>
|
||||||
{
|
{
|
||||||
username ? <code> { username } </code>
|
username ? <code> { username } </code>
|
||||||
: <Col><Input type="text" required="required" name="username" onChange={ this.onChange }/></Col>
|
: <Col><Input type="text" required="required" name="username" onChange={ this.onChange } autoFocus/></Col>
|
||||||
}
|
}
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
@@ -112,7 +112,7 @@ export default class HttpAuth extends React.Component {
|
|||||||
<label>Value:</label>
|
<label>Value:</label>
|
||||||
{
|
{
|
||||||
value ? <code> ****** </code>
|
value ? <code> ****** </code>
|
||||||
: <Col><Input type="text" onChange={ this.onChange }/></Col>
|
: <Col><Input type="text" onChange={ this.onChange } autoFocus/></Col>
|
||||||
}
|
}
|
||||||
</Row>
|
</Row>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user