Skip to content

Commit

Permalink
pass formContext to SchemaField (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
ealtunyay authored and epicfaace committed Jun 29, 2019
1 parent e98a016 commit a8319d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ export default class Form extends Component {
acceptcharset,
noHtml5Validate,
disabled,
formContext,
} = this.props;

const { schema, uiSchema, formData, errorSchema, idSchema } = this.state;
Expand Down Expand Up @@ -323,6 +324,7 @@ export default class Form extends Component {
errorSchema={errorSchema}
idSchema={idSchema}
idPrefix={idPrefix}
formContext={formContext}
formData={formData}
onChange={this.onChange}
onBlur={this.onBlur}
Expand Down

0 comments on commit a8319d7

Please # to comment.