|
@@ -93,24 +93,24 @@ export const createFieldSchema = (
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'Input.TextArea'
|
|
|
},
|
|
|
- 'x-display': {
|
|
|
- type: 'string',
|
|
|
- enum: ['visible', 'hidden', 'none', ''],
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Select',
|
|
|
- 'x-component-props': {
|
|
|
- defaultValue: 'visible'
|
|
|
- }
|
|
|
- },
|
|
|
- 'x-pattern': {
|
|
|
- type: 'string',
|
|
|
- enum: ['editable', 'disabled', 'readOnly', 'readPretty', ''],
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': 'Select',
|
|
|
- 'x-component-props': {
|
|
|
- defaultValue: 'editable'
|
|
|
- }
|
|
|
- },
|
|
|
+ // 'x-display': {
|
|
|
+ // type: 'string',
|
|
|
+ // enum: ['visible', 'hidden', 'none', ''],
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Select',
|
|
|
+ // 'x-component-props': {
|
|
|
+ // defaultValue: 'visible'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // 'x-pattern': {
|
|
|
+ // type: 'string',
|
|
|
+ // enum: ['editable', 'disabled', 'readOnly', 'readPretty', ''],
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': 'Select',
|
|
|
+ // 'x-component-props': {
|
|
|
+ // defaultValue: 'editable'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
default: {
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': 'ValueInput'
|
|
@@ -119,10 +119,10 @@ export const createFieldSchema = (
|
|
|
'x-decorator': 'FormItem',
|
|
|
'x-component': DataSourceSetter
|
|
|
},
|
|
|
- 'x-reactions': {
|
|
|
- 'x-decorator': 'FormItem',
|
|
|
- 'x-component': ReactionsSetter
|
|
|
- },
|
|
|
+ // 'x-reactions': {
|
|
|
+ // 'x-decorator': 'FormItem',
|
|
|
+ // 'x-component': ReactionsSetter
|
|
|
+ // },
|
|
|
'x-validator': {
|
|
|
type: 'array',
|
|
|
'x-component': ValidatorSetter
|