Set writeOnly flags in correct places

This commit is contained in:
Kyle Shockey
2017-08-03 17:42:04 -07:00
parent 9af5d2dc66
commit 15b70b6f2d
3 changed files with 13 additions and 4 deletions

View File

@@ -69,7 +69,9 @@ export default class ParamBody extends PureComponent {
let { param, fn:{inferSchema} } = this.props
let schema = inferSchema(param.toJS())
return getSampleSchema(schema, xml)
return getSampleSchema(schema, xml, {
includeWriteOnly: true
})
}
onChange = (value, { isEditBox, isXml }) => {