pass meta error information to JsonSchemaForm correctly (#4416)

* tests: add failing e2e tests

* fix: pass meta error information to JsonSchemaForm correctly
This commit is contained in:
kyle
2018-04-05 15:30:31 -07:00
committed by GitHub
parent 4480db0390
commit d90353228a
3 changed files with 261 additions and 1 deletions

View File

@@ -188,7 +188,7 @@ export default class ParameterRow extends Component {
required={ required }
description={param.get("description") ? `${param.get("name")} - ${param.get("description")}` : `${param.get("name")}`}
onChange={ this.onChangeWrapper }
errors={ param.get("errors") }
errors={ paramWithMeta.get("errors") }
schema={ isOAS3 && isOAS3() ? param.get("schema") : param }/>
}