fix: validate uid rule (#3140)

This commit is contained in:
katherinehhh 2023-12-05 16:09:44 +08:00 committed by GitHub
parent d573e6ff17
commit 536001eaba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,5 +19,5 @@ export * from './SyncSQLFieldsAction';
export * from './DeleteCollectionAction';
registerValidateFormats({
uid: /^[a-zA-Z][a-zA-Z0-9_]*$/,
uid: /^[a-zA-Z][a-zA-Z0-9_-]*$/,
});