From 5d8a59e9c3b1a237eaaab64a96b4d5e3581d7b98 Mon Sep 17 00:00:00 2001 From: xiangnan <280145668@qq.com> Date: Sun, 25 Jun 2023 06:45:07 +0800 Subject: [PATCH] feat: prop type of select should contain Boolean (#6691) --- components/select/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/select/index.tsx b/components/select/index.tsx index a997322f1..f4ee557f9 100644 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -36,10 +36,10 @@ export const selectProps = () => ({ 'backfill', ]), value: { - type: [Array, Object, String, Number] as PropType, + type: [Array, Object, String, Number, Boolean] as PropType, }, defaultValue: { - type: [Array, Object, String, Number] as PropType, + type: [Array, Object, String, Number, Boolean] as PropType, }, notFoundContent: PropTypes.any, suffixIcon: PropTypes.any,