From 1b80cc431b6b6971dbc40dae75ad129ebe2a29da Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Mon, 4 Dec 2023 17:56:08 +0800 Subject: [PATCH] refactor: uid validate rule (#3134) --- .../core/client/src/collection-manager/Configuration/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/collection-manager/Configuration/index.tsx b/packages/core/client/src/collection-manager/Configuration/index.tsx index 011a1c1eb..be8700314 100644 --- a/packages/core/client/src/collection-manager/Configuration/index.tsx +++ b/packages/core/client/src/collection-manager/Configuration/index.tsx @@ -19,5 +19,5 @@ export * from './SyncSQLFieldsAction'; export * from './DeleteCollectionAction'; registerValidateFormats({ - uid: /^[A-Za-z0-9][A-Za-z0-9_-]*$/, + uid: /^[a-zA-Z][a-zA-Z0-9_]*$/, });