Skip to main content
Version: 3.2.0

Scroll to the first form error

Version: 3.2.0 Date: 2026-11-17

Goal: On a short screen, Test connection or Save can fail on a field that is scrolled out of view (storage name). The operator sees nothing.

Solution: When react-hook-form rejects the submit, scroll the first invalid field into the ScrollBox and focus it. Storage editor (all types), workflow init (Next and Test connection name), FTP paths, email chips, and the workflow storage picker.

Files Modified:

  • ui/src/utils/scrollToFirstFormError.ts - first error path and scroll
  • ui/src/pages/storages/StorageEditor.tsx - Test connection and Save
  • ui/src/pages/workflows/stepForms/StepInitForm.tsx - Next, Test connection name
  • ui/src/pages/workflows/stepForms/StepFtpForm.tsx - Add path
  • ui/src/pages/workflows/stepForms/StepEmailForm.tsx - Add mailbox, sender, extension
  • ui/src/pages/workflows/stepForms/StepStorageForm.tsx - storage required

Release fragment: fix-form-scroll-to-error