Skip to content

Commit fda1660

Browse files
committed
fix: issue for custom select not triggering optionSelected for clearAll
1 parent 3a7444c commit fda1660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/components/custom-select/custom-select.lite.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ export default function DBCustomSelect(props: DBCustomSelectProps) {
493493
);
494494
},
495495
handleClearAll: () => {
496-
state._values = [];
496+
state.handleOptionSelected([]);
497497
state.handleSummaryFocus();
498498
},
499499
handleSummaryFocus: () => {

0 commit comments

Comments
 (0)