We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
labelInValue
1 parent 4687bf1 commit d8ac932Copy full SHA for d8ac932
components/select/index.jsx
@@ -43,7 +43,7 @@ const AbstractSelectProps = () => ({
43
loading: PropTypes.bool,
44
});
45
const Value = PropTypes.shape({
46
- key: PropTypes.string,
+ key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
47
}).loose;
48
49
const SelectValue = PropTypes.oneOfType([
0 commit comments