sync
* fix form length
This commit is contained in:
parent
6d148a35eb
commit
e98fa7f69a
3 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
|
||||||
import { zodResolver } from "mantine-form-zod-resolver";
|
import { zodResolver } from "mantine-form-zod-resolver";
|
||||||
|
|
||||||
const formSchema = z.object({
|
const formSchema = z.object({
|
||||||
name: z.string().min(2).max(50),
|
name: z.string().min(2).max(100),
|
||||||
description: z.string().max(500),
|
description: z.string().max(500),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import { ISpace } from "@/features/space/types/space.types.ts";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
const formSchema = z.object({
|
const formSchema = z.object({
|
||||||
name: z.string().min(2).max(50),
|
name: z.string().min(2).max(100),
|
||||||
description: z.string().max(250),
|
description: z.string().max(500),
|
||||||
slug: z
|
slug: z
|
||||||
.string()
|
.string()
|
||||||
.min(2)
|
.min(2)
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit b55f6f5d236a40e0ebe831d4a07320137589f2f5
|
Subproject commit ed75f5071b3c8d628fb4fac9300818525ca20f52
|
||||||
Loading…
Add table
Reference in a new issue