Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1208 from daneryl/master
Browse files Browse the repository at this point in the history
added array as allowed propType for control/field
  • Loading branch information
davidkpiano authored Nov 6, 2019
2 parents 47f71d7 + 7123c34 commit 5ed5ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/control-component-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const propTypes = {
model: PropTypes.oneOfType([
PropTypes.func,
PropTypes.string,
PropTypes.array,
]).isRequired,
modelValue: PropTypes.any,
viewValue: PropTypes.any,
Expand Down
1 change: 1 addition & 0 deletions src/components/field-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const fieldPropTypes = {
model: PropTypes.oneOfType([
PropTypes.func,
PropTypes.string,
PropTypes.array,
]).isRequired,
component: PropTypes.oneOfType([
PropTypes.func,
Expand Down

0 comments on commit 5ed5ace

Please sign in to comment.