Skip to content

Commit 1c3f932

Browse files
author
Richard Všianský
authored
Merge pull request #1274 from data-driven-forms/fix-selected-option-hangs
fix(common): Fix clear all right values dual list action type typo
2 parents 2b9bcf0 + 2a4821a commit 1c3f932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/src/dual-list-select/dual-list-select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const DualListSelectCommon = (props) => {
7373
};
7474

7575
const handleClearRightValues = () => {
76-
dispatch({ type: 'clearRightValue' });
76+
dispatch({ type: 'clearRightValues' });
7777
rest.input.onChange([...rest.input.value.filter((val) => !rightValues.find(({ value }) => val === value))]);
7878
};
7979

0 commit comments

Comments
 (0)