Submit button for forms with uploads: pressing submit mid-upload validates and queues the send, the button fills with combined progress ("Waiting for 2 uploads…"), it submits by itself when they finish, a failed upload pauses it until retried, and leaving asks first.
npx shadcn@latest add @bollard/upload-waitupload-wait