fix: the default value Input should not be disabled and hidden

This commit is contained in:
Rairn 2023-04-25 16:05:15 +08:00
parent 2c75aa723d
commit ea33974ec5

View File

@ -449,6 +449,8 @@ FormItem.Designer = function Designer() {
renderSchemaComponent: function Com(props) {
const s = _.cloneDeep(fieldSchema) || ({} as Schema);
s.title = '';
s['x-read-pretty'] = false;
s['x-disabled'] = false;
return (
<SchemaComponent