The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Use the form's own checks instead of the browser's in the submit lead form
Rafife38f4fa4b38
diff --git a/apps/web/ui/submitted-leads/submit-lead-sheet.tsx b/apps/web/ui/submitted-leads/submit-lead-sheet.tsxindex 75d3bfb12f..551edfb02b 100644--- a/apps/web/ui/submitted-leads/submit-lead-sheet.tsx+++ b/apps/web/ui/submitted-leads/submit-lead-sheet.tsx@@ -106,6 +106,8 @@ export function SubmitLeadSheet({<FormProvider {...form}><formonSubmit={handleSubmit(onSubmit)}+ // The fields have their own checks, so all errors show in the same style+ noValidateclassName="flex h-full flex-col"><div className="sticky top-0 z-10 border-b border-neutral-200 bg-neutral-50">