From 179474c0c7f24481f1538af802692a05f643076f Mon Sep 17 00:00:00 2001 From: xiamiao Date: Tue, 16 Apr 2024 16:32:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?hotfix:=20=E4=BF=AE=E5=A4=8DCheckSelect=20o?= =?UTF-8?q?nClear=E8=AE=BE=E7=BD=AE=E5=90=8E=E6=B2=A1=E8=A7=A6=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/check-select/src/CheckSelect.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/check-select/src/CheckSelect.tsx b/packages/ui/check-select/src/CheckSelect.tsx index 719bdbe86..3fcd1cfc2 100644 --- a/packages/ui/check-select/src/CheckSelect.tsx +++ b/packages/ui/check-select/src/CheckSelect.tsx @@ -61,6 +61,7 @@ export const CheckSelect = forwardRef( visible, onOpen, onClose, + onClear, // picker appearance, invalid, @@ -316,6 +317,7 @@ export const CheckSelect = forwardRef( value={value} // @ts-ignore onChange={tryChangeValue} + onClear={onClear} data={mergedData} invalid={invalid} onClick={(evt) => { From ab017026e0c5d70f32504a85238c55fe49243988 Mon Sep 17 00:00:00 2001 From: xiamiao Date: Tue, 16 Apr 2024 16:32:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(CheckSelect):=20=E4=BF=AE=E5=A4=8DCheck?= =?UTF-8?q?Select=20onClear=E8=AE=BE=E7=BD=AE=E5=90=8E=E6=B2=A1=E8=A7=A6?= =?UTF-8?q?=E5=8F=91(#2793)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/check-select/src/CheckSelect.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/check-select/src/CheckSelect.tsx b/packages/ui/check-select/src/CheckSelect.tsx index 719bdbe86..3fcd1cfc2 100644 --- a/packages/ui/check-select/src/CheckSelect.tsx +++ b/packages/ui/check-select/src/CheckSelect.tsx @@ -61,6 +61,7 @@ export const CheckSelect = forwardRef( visible, onOpen, onClose, + onClear, // picker appearance, invalid, @@ -316,6 +317,7 @@ export const CheckSelect = forwardRef( value={value} // @ts-ignore onChange={tryChangeValue} + onClear={onClear} data={mergedData} invalid={invalid} onClick={(evt) => {