use type='number' for port input
This commit is contained in:
parent
9d83de7eea
commit
8f66ac9556
1 changed files with 2 additions and 2 deletions
|
@ -46,11 +46,11 @@ function ServerInputRow(props: Props) {
|
|||
/>
|
||||
<span className="form-field__conjuction">:</span>
|
||||
<FormField
|
||||
type="text"
|
||||
type="number"
|
||||
label={__('Port')}
|
||||
placeholder={'50001'}
|
||||
value={portString}
|
||||
onChange={e => setPortString(e.target.value)}
|
||||
onChange={e => setPortString(String(e.target.value))}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue