mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 03:46:08 +00:00
fix(users): remove phone validation
This commit is contained in:
parent
17827c2c30
commit
03be3e7c77
@ -69,7 +69,6 @@ export const userCollection = {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
title: '{{t("Phone")}}',
|
title: '{{t("Phone")}}',
|
||||||
'x-component': 'Input',
|
'x-component': 'Input',
|
||||||
'x-validator': 'phone',
|
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -213,7 +212,6 @@ export const usersSchema: ISchema = {
|
|||||||
phone: {
|
phone: {
|
||||||
title: '{{t("Phone")}}',
|
title: '{{t("Phone")}}',
|
||||||
'x-component': 'Input',
|
'x-component': 'Input',
|
||||||
'x-validator': 'phone',
|
|
||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user