Skip to content

Commit

Permalink
Merge pull request #3227 from NCI-Agency/fix-advancedSingleSelect
Browse files Browse the repository at this point in the history
Fix required value prop failing on null values
  • Loading branch information
VassilIordanov authored Oct 2, 2020
2 parents 025c266 + 04ad496 commit 81af7b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const AdvancedSingleSelect = props => {
}
AdvancedSingleSelect.propTypes = {
...advancedSelectPropTypes,
value: PropTypes.object.isRequired,
value: PropTypes.object,
valueKey: PropTypes.string
}
AdvancedSingleSelect.defaultProps = {
Expand Down

0 comments on commit 81af7b2

Please sign in to comment.