Skip to content

Commit

Permalink
Removed a "isRequired" property not passed from callers, and removed …
Browse files Browse the repository at this point in the history
…a undefined param
  • Loading branch information
ffissore committed May 14, 2018
1 parent b4cef6a commit 7a79c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/components/model-wrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class ModelWrapper extends Component {
specSelectors: PropTypes.object.isRequired,
expandDepth: PropTypes.number,
layoutActions: PropTypes.object,
layoutSelectors: PropTypes.object.isRequired
layoutSelectors: PropTypes.object
}

onToggle = (name,isShown) => {
Expand Down
2 changes: 1 addition & 1 deletion src/core/components/parameter-row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default class ParameterRow extends Component {
{ bodyParam || !isExecute ? null
: <JsonSchemaForm fn={fn}
getComponent={getComponent}
value={ formatParamValue(value, parameter) }
value={ formatParamValue(value) }
required={ required }
description={param.get("description") ? `${param.get("name")} - ${param.get("description")}` : `${param.get("name")}`}
onChange={ this.onChangeWrapper }
Expand Down

0 comments on commit 7a79c61

Please sign in to comment.