diff --git a/src/components/formFields/object/index.tsx b/src/components/formFields/object/index.tsx index 39fb603eca6cf9d90947f6d27574f368d6ccd9f5..b0de063901f60ff11be62e7d7e9855d0ae8abca5 100644 --- a/src/components/formFields/object/index.tsx +++ b/src/components/formFields/object/index.tsx @@ -3,7 +3,7 @@ import getALLComponents from '../' import React from 'react' import ConditionHelper from '../../../util/condition' import { cloneDeep } from 'lodash' -import { getValue, setValue } from '../../../util/value' +import { getValue, setValue, getBoolean } from '../../../util/value' import StatementHelper from '../../../util/statement' export interface ObjectFieldConfig extends FieldConfig { @@ -34,6 +34,7 @@ export interface IObjectFieldItemField { description?: string message?: string extra?: string + required: boolean layout: 'horizontal' | 'vertical' | 'inline' visitable: boolean fieldType: string @@ -449,6 +450,7 @@ export default class ObjectField extends Field