diff --git a/lib/DonorFilter/PluggableDonorFilter.js b/lib/DonorFilter/PluggableDonorFilter.js index a519c30e..a19eb471 100644 --- a/lib/DonorFilter/PluggableDonorFilter.js +++ b/lib/DonorFilter/PluggableDonorFilter.js @@ -60,6 +60,14 @@ const PluggableDonorFilter = ({ return selectedDonors.map(donor => ({ value: donor.id, label: donor.name })); }, [selectedDonors]); + const onClearAll = () => { + onChange({ + name, + values: [], + }); + setSelectedDonors([]); + }; + return (