mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 03:16:48 +03:00
fix: readonly/writeonly not respected in nested schemas
This commit is contained in:
parent
94789e3145
commit
2d20d06500
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user