diff --git a/ui/component/settingWalletServer/internal/inputRow.jsx b/ui/component/settingWalletServer/internal/inputRow.jsx
index 99f4038e2..ae7297727 100644
--- a/ui/component/settingWalletServer/internal/inputRow.jsx
+++ b/ui/component/settingWalletServer/internal/inputRow.jsx
@@ -46,11 +46,11 @@ function ServerInputRow(props: Props) {
/>
:
setPortString(e.target.value)}
+ onChange={e => setPortString(String(e.target.value))}
/>