fix: readonly/writeonly not respected in nested schemas

This commit is contained in:
Roman Hotsiy 2018-01-16 17:11:23 +02:00
parent 94789e3145
commit 2d20d06500
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -51,7 +51,12 @@ export class ObjectSchema extends React.Component<ObjectSchemaProps> {
<tr key={field.name + 'inner'}>
<PropertyCellWithInner colSpan={2}>
<InnerPropertiesWrap>
<Schema schema={field.schema} />
<Schema
schema={field.schema}
skipReadOnly={this.props.skipReadOnly}
skipWriteOnly={this.props.skipWriteOnly}
showTitle={this.props.showTitle}
/>
</InnerPropertiesWrap>
</PropertyCellWithInner>
</tr>