The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix email validation for over-length inline edits (#22426)
Deepak kumar maharana34c5054bac7f
diff --git a/packages/twenty-shared/src/utils/validation/emailSchema.ts b/packages/twenty-shared/src/utils/validation/emailSchema.tsindex 316564bf853..017f8692c92 100644--- a/packages/twenty-shared/src/utils/validation/emailSchema.ts+++ b/packages/twenty-shared/src/utils/validation/emailSchema.ts@@ -1,3 +1,5 @@import { z } from 'zod';-export const emailSchema = z.email({ pattern: z.regexes.unicodeEmail });+export const emailSchema = z+ .email({ pattern: z.regexes.unicodeEmail })+ .max(255);