Skip to content

Commit

Permalink
Merge pull request #5 from tristan-secord/groupCustomComponents
Browse files Browse the repository at this point in the history
Allow grouping of custom components
  • Loading branch information
Kuldeep Saxena committed Oct 11, 2017
2 parents 3056612 + 4548964 commit 5088ed4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fields/form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default class FormField extends Component {
updateValue: React.PropTypes.func,
autoValidation: React.PropTypes.bool,
customValidation: React.PropTypes.func,
customComponents: React.PropTypes.object,
}
constructor(props) {
super(props);
Expand All @@ -31,6 +32,7 @@ export default class FormField extends Component {
theme,
autoValidation,
customValidation,
customComponents,
} = this.props;
return (
<View>
Expand All @@ -43,6 +45,7 @@ export default class FormField extends Component {
onValueChange={this.onValueChange}
autoValidation={autoValidation}
customValidation={customValidation}
customComponents={customComponents}
showErrors
fields={attributes.fields}
theme={theme}
Expand Down

0 comments on commit 5088ed4

Please sign in to comment.