Autofocus port field in portf orwarding dialog

This commit is contained in:
Stefan Woehrer committed 2022-07-26 10:56:09 +02:00
1 parent e7e8d1688c
commit eff26ab03d
1 file changed
+1
@@ -127,6 +127,7 @@ class NonInjectedPortForwardDialog extends Component<PortForwardDialogProps & De
value={this.desiredPort === 0 ? "" : String(this.desiredPort)} value={this.desiredPort === 0 ? "" : String(this.desiredPort)}
placeholder={"Random"} placeholder={"Random"}
onChange={this.changePort} onChange={this.changePort}
autoFocus
/> />
</div> </div>
<Checkbox <Checkbox