mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Set focus on port field when port-forward-dialog opens (#5908)
Signed-off-by: Stefan Woehrer <stefan.woehrer@lean-coders.at> Co-authored-by: Stefan Woehrer <stefan.woehrer@lean-coders.at>
This commit is contained in:
parent
a12b94405a
commit
392d548bf0
@ -127,6 +127,7 @@ class NonInjectedPortForwardDialog extends Component<PortForwardDialogProps & De
|
||||
value={this.desiredPort === 0 ? "" : String(this.desiredPort)}
|
||||
placeholder={"Random"}
|
||||
onChange={this.changePort}
|
||||
autoFocus
|
||||
/>
|
||||
</div>
|
||||
<Checkbox
|
||||
|
||||
Loading…
Reference in New Issue
Block a user