mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-11-30 03:08:31 +08:00
fix(client): dynamic component
This commit is contained in:
parent
3ff16e70c0
commit
93d521b134
@ -17,8 +17,6 @@ export const multipleSelect: IField = {
|
||||
'x-component-props': {
|
||||
mode: 'multiple',
|
||||
},
|
||||
'x-decorator': 'FormItem',
|
||||
'x-designable-bar': 'Select.DesignableBar',
|
||||
enum: [],
|
||||
},
|
||||
},
|
||||
|
@ -14,8 +14,6 @@ export const password: IField = {
|
||||
type: 'string',
|
||||
// title,
|
||||
'x-component': 'Password',
|
||||
'x-decorator': 'FormItem',
|
||||
'x-designable-bar': 'Password.DesignableBar',
|
||||
},
|
||||
},
|
||||
properties: {
|
||||
|
@ -20,8 +20,6 @@ export const percent: IField = {
|
||||
step: '0',
|
||||
addonAfter: '%',
|
||||
},
|
||||
'x-decorator': 'FormItem',
|
||||
'x-designable-bar': 'InputNumber.DesignableBar',
|
||||
},
|
||||
},
|
||||
properties: {
|
||||
|
@ -15,9 +15,7 @@ export const phone: IField = {
|
||||
type: 'string',
|
||||
// title,
|
||||
'x-component': 'Input',
|
||||
'x-decorator': 'FormItem',
|
||||
'x-validator': 'phone',
|
||||
'x-designable-bar': 'Input.DesignableBar',
|
||||
},
|
||||
},
|
||||
properties: {
|
||||
|
@ -29,6 +29,8 @@ export const DynamicComponent = (props) => {
|
||||
...props.schema,
|
||||
name: 'value',
|
||||
'x-read-pretty': false,
|
||||
'x-validator': undefined,
|
||||
'x-decorator': undefined,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user