feat: prop type of select should contain Boolean (#6691)

pull/6800/head
xiangnan 1 year ago committed by GitHub
parent 823b3ddd11
commit 5d8a59e9c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,10 +36,10 @@ export const selectProps = () => ({
'backfill', 'backfill',
]), ]),
value: { value: {
type: [Array, Object, String, Number] as PropType<SelectValue>, type: [Array, Object, String, Number, Boolean] as PropType<SelectValue>,
}, },
defaultValue: { defaultValue: {
type: [Array, Object, String, Number] as PropType<SelectValue>, type: [Array, Object, String, Number, Boolean] as PropType<SelectValue>,
}, },
notFoundContent: PropTypes.any, notFoundContent: PropTypes.any,
suffixIcon: PropTypes.any, suffixIcon: PropTypes.any,

Loading…
Cancel
Save