Skip to content

Commit

Permalink
fix(checkselect):修复onClear设置后没触发(XiaoMi#2793)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiamiao committed Apr 16, 2024
1 parent f9ba977 commit 6d6331c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/check-select/src/CheckSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const CheckSelect = forwardRef<HTMLDivElement | null, CheckSelectProps>(
visible,
onOpen,
onClose,
onClear,
// picker
appearance,
invalid,
Expand Down Expand Up @@ -316,6 +317,7 @@ export const CheckSelect = forwardRef<HTMLDivElement | null, CheckSelectProps>(
value={value}
// @ts-ignore
onChange={tryChangeValue}
onClear={onClear}
data={mergedData}
invalid={invalid}
onClick={(evt) => {
Expand Down

0 comments on commit 6d6331c

Please sign in to comment.