You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use belle select with number of options < 2 I get this warning in browser console:
'Warning: Failed propType: Invalid undefined children of type object supplied to Belle Select, expected an array. Check the render method of SelectDocumentation.'
Its coz of Line 633, select.jsx:
const error = React.PropTypes.arrayOf(optionOrPlaceholderOrSeparatorPropType).isRequired(props, propName, componentName);
We need to get rid of this arrayOf.
The text was updated successfully, but these errors were encountered:
When I use belle select with number of options < 2 I get this warning in browser console:
'Warning: Failed propType: Invalid undefined
children
of typeobject
supplied toBelle Select
, expected an array. Check the render method ofSelectDocumentation
.'Its coz of Line 633, select.jsx:
const error = React.PropTypes.arrayOf(optionOrPlaceholderOrSeparatorPropType).isRequired(props, propName, componentName);
We need to get rid of this arrayOf.
The text was updated successfully, but these errors were encountered: