chore: update robot-plugins submodule

This commit is contained in:
2026-04-01 17:06:07 -04:00
parent c05384d1a0
commit c923c63099
2 changed files with 4 additions and 4 deletions
@@ -34,8 +34,8 @@ const experimentSchema = z.object({
.max(100, "Name too long"), .max(100, "Name too long"),
description: z description: z
.string() .string()
.min(10, "Description must be at least 10 characters") .max(1000, "Description too long")
.max(1000, "Description too long"), .optional(),
studyId: z.string().uuid("Please select a study"), studyId: z.string().uuid("Please select a study"),
estimatedDuration: z estimatedDuration: z
.number() .number()
@@ -123,7 +123,7 @@ export function ExperimentForm({ mode, experimentId }: ExperimentFormProps) {
if (mode === "edit" && experiment) { if (mode === "edit" && experiment) {
form.reset({ form.reset({
name: experiment.name, name: experiment.name,
description: experiment.description ?? "", description: experiment.description ?? undefined,
studyId: experiment.studyId, studyId: experiment.studyId,
estimatedDuration: experiment.estimatedDuration ?? undefined, estimatedDuration: experiment.estimatedDuration ?? undefined,
status: experiment.status, status: experiment.status,