fix: select `labelInValue` validator prop type error (#1393)
parent
4687bf1066
commit
d8ac932947
|
@ -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([
|
||||
|
|
Loading…
Reference in New Issue