diff --git a/components/select/index.jsx b/components/select/index.jsx index 84a0567f9..81088c6ee 100644 --- a/components/select/index.jsx +++ b/components/select/index.jsx @@ -43,7 +43,7 @@ const AbstractSelectProps = () => ({ loading: PropTypes.bool, }); const Value = PropTypes.shape({ - key: PropTypes.string, + key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }).loose; const SelectValue = PropTypes.oneOfType([