We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c835bb8 commit e6fd82aCopy full SHA for e6fd82a
components/tree-select/interface.jsx
@@ -19,7 +19,7 @@ export const TreeSelectProps = () => ({
19
loadData: PropTypes.func,
20
maxTagCount: PropTypes.number,
21
maxTagPlaceholder: PropTypes.any,
22
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.array]),
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.array, PropTypes.number]),
23
defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.array]),
24
multiple: PropTypes.bool,
25
notFoundContent: PropTypes.any,
0 commit comments