From 7b80524a5a872ccb567da16ea46581d44a159ccc Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 10 Jul 2024 13:11:57 +0200 Subject: [PATCH] scheduler name can be empty --- interface/src/project/validators.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/project/validators.ts b/interface/src/project/validators.ts index 60e22256b..9cc49eb34 100644 --- a/interface/src/project/validators.ts +++ b/interface/src/project/validators.ts @@ -305,6 +305,8 @@ export const schedulerItemValidation = ( name: [ { type: 'string', + min: 0, + max: 15, pattern: /^[a-zA-Z0-9_\\.]{1,15}$/, message: "Must be <15 characters: alpha numeric, '_' or '.'" },