tachybase_todo/docs/components/collection-fields/email.md
2021-10-31 11:35:11 +08:00

30 lines
528 B
Markdown

# Email - 电子邮箱
## Interface
```ts
export const email: FieldOptions = {
name: 'email',
type: 'object',
group: 'basic',
order: 4,
title: '电子邮箱',
sortable: true,
default: {
dataType: 'string',
// name,
uiSchema: {
type: 'string',
// title,
'x-component': 'Input',
'x-decorator': 'FormItem',
'x-validator': 'email',
'x-designable-bar': 'Input.DesignableBar',
},
},
properties: {
...defaultProps,
},
operations: string.operations,
};
```