refactor: uid validate rule (#3134)
This commit is contained in:
parent
34e026cec5
commit
1b80cc431b
@ -19,5 +19,5 @@ export * from './SyncSQLFieldsAction';
|
|||||||
export * from './DeleteCollectionAction';
|
export * from './DeleteCollectionAction';
|
||||||
|
|
||||||
registerValidateFormats({
|
registerValidateFormats({
|
||||||
uid: /^[A-Za-z0-9][A-Za-z0-9_-]*$/,
|
uid: /^[a-zA-Z][a-zA-Z0-9_]*$/,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user