fix(validation): disallow whitespace-only team name (#25467)
* fix(validation): disallow whitespace-only team name * fix validation at team profile * fix validation for title at event type --------- Co-authored-by: Dhairyashil Shinde <[email protected]>
This commit is contained in:
1 parent
060176cd08
commit
d3f7308b9f
3 files changed
+21
-16
No files matched your search
@@ -262,7 +262,7 @@ const calVideoSettingsSchema = z
|
||||
|
||||
export const createEventTypeInput = z
|
||||
.object({
|
||||
title: z.string().min(1),
|
||||
title: z.string().trim().min(1),
|
||||
slug: eventTypeSlug,
|
||||
description: z.string().nullish(),
|
||||
length: z.number().int(),
|
||||
|
||||
Reference in new issue
Block a user