mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
sync
* fix form length
This commit is contained in:
@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
||||
import { zodResolver } from "mantine-form-zod-resolver";
|
||||
|
||||
const formSchema = z.object({
|
||||
name: z.string().min(2).max(50),
|
||||
name: z.string().min(2).max(100),
|
||||
description: z.string().max(500),
|
||||
});
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ import { ISpace } from "@/features/space/types/space.types.ts";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
const formSchema = z.object({
|
||||
name: z.string().min(2).max(50),
|
||||
description: z.string().max(250),
|
||||
name: z.string().min(2).max(100),
|
||||
description: z.string().max(500),
|
||||
slug: z
|
||||
.string()
|
||||
.min(2)
|
||||
|
||||
+1
-1
Submodule apps/server/src/ee updated: b55f6f5d23...ed75f5071b
Reference in New Issue
Block a user