Skip to content

Commit 4548964

Browse files
Allow grouping of custom components
1 parent b34b57b commit 4548964

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fields/form/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default class FormField extends Component {
99
updateValue: React.PropTypes.func,
1010
autoValidation: React.PropTypes.bool,
1111
customValidation: React.PropTypes.func,
12+
customComponents: React.PropTypes.object,
1213
}
1314
constructor(props) {
1415
super(props);
@@ -31,6 +32,7 @@ export default class FormField extends Component {
3132
theme,
3233
autoValidation,
3334
customValidation,
35+
customComponents,
3436
} = this.props;
3537
return (
3638
<View>
@@ -43,6 +45,7 @@ export default class FormField extends Component {
4345
onValueChange={this.onValueChange}
4446
autoValidation={autoValidation}
4547
customValidation={customValidation}
48+
customComponents={customComponents}
4649
showErrors
4750
fields={attributes.fields}
4851
theme={theme}

0 commit comments

Comments
 (0)