Skip to content

Commit

Permalink
[create-seq-form] chore: trim space in name
Browse files Browse the repository at this point in the history
  • Loading branch information
LatentDream committed Apr 22, 2024
1 parent 4832f1e commit 223f7d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
const formSchema = z.object({
name: z.string().min(1).max(50).regex(/\S/, {
message: "The sequence name should not contain white spaces",
}),
}).transform(val => val.trim()),
description: z.string().max(100),
projectPath: z.string().min(1).regex(/\S/, {
message: "The project path should not contain white spaces",
Expand Down

0 comments on commit 223f7d7

Please sign in to comment.