From 23110a8c2a954b4fcfb03968e1459a44e3afefa4 Mon Sep 17 00:00:00 2001 From: Kyujin Cho Date: Sat, 28 Oct 2023 16:56:40 +0900 Subject: [PATCH] update regex --- react/src/components/ServiceLauncherModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/src/components/ServiceLauncherModal.tsx b/react/src/components/ServiceLauncherModal.tsx index d6617ae020..40397073d2 100644 --- a/react/src/components/ServiceLauncherModal.tsx +++ b/react/src/components/ServiceLauncherModal.tsx @@ -218,7 +218,7 @@ const ServiceLauncherModal: React.FC = ({ name="serviceName" rules={[ { - pattern: /^(?=.{4,64}$)\w[\w.-]*\w$/, + pattern: /^(?=.{4,24}$)\w[\w.-]*\w$/, message: t('modelService.ServiceNameRule'), }, {