You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop the Port field from snapping back to 3306 while typing #813
Click Port, select all, press Backspace. The field becomes "3306" again immediately.
Type 3307. The field now reads 33063307.
Nothing checks the range. Save is enabled, and Test Connection on the mock reports success for port 33063307.
Cause
src/components/connection/tabs/GeneralTab.tsx:53: parseInt(v) || 3306 replaces an empty value on every keystroke.
The same pattern is in src/components/connection/tabs/AdvancedTab.tsx:37 (connect timeout, || 10) and :44 (query timeout).
Fix
Keep the raw string in local field state and parse on blur or save. Validate 1–65535 (and positive timeouts), show an inline error, and disable Save and Test while a field is invalid.
Activity
fix(ui): stop number fields snapping to defaults
release: 1.4.0 (#871)