Hi All.
I used the multi-select from Jimu library in a custom application. is there a way to clear the selection from the form?
The custom tool is developed for selecting multiple options from drop down. User checks the check box to select the feature. And the search option (Search button) renders the selection on the map correctly. The clear button clears the selection from the map but not from the check box and the form where it displays the selection. Is there a way to clear the selection from the form also.
I want to clear the options above programmatically.
getTRSMultiSelectOptions = (option: TRSOption) => {
return option.units.map((item) => ({
label: item,
value: item,
}));
};