Skip to content

Commit

Permalink
feat: change publication communication empty message error (#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonat75 authored Nov 21, 2023
1 parent b10795a commit 9349fc0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ const formSchema = zodFr.object({
.nonempty("L'adresse exacte de la page internet est obligatoire")
.superRefine(zodValueObjectSuperRefine(Url, "L'adresse de la page internet est invalide"))
.optional(),
modalités: z
.string()
.trim()
.nonempty("La description des modalités de communication des écarts est obligatoire")
.optional(),
modalités: z.string().trim().nonempty("La description des modalités de communication est obligatoire").optional(),
planRelance: zodRadioInputSchema,
});

Expand Down

0 comments on commit 9349fc0

Please sign in to comment.