srigar / multiselect-react-dropdown

React multiselect dropdown with search and various options
https://10xn41w767.codesandbox.io/
MIT License
200 stars 114 forks source link

Unable to customise options list and backspace is deleting the selected item #254

Open SachinShetty11493 opened 1 year ago

SachinShetty11493 commented 1 year ago

Context:-

Hello I am facing few of issues while using this package.

  1. I am unable to customise the options list Screenshot 2023-09-07 at 1 02 11 PM

I want to customise this way but unable to do it. I tried using optionValueDecorator prop as well but it didn't work.

  1. While removing the search keyword the selected item is getting removed and onRemove event is not getting called and its causing issues to handle my state.

  2. When i am using disablePreSelectedValues prop it disabling newly selected values as well. But in my case , i need newly selected values to be allowed to remove and once we save and get back the data, only that particular items should be disabled.

I am using these versions:- "multiselect-react-dropdown": "^2.0.25" "react": "^17.0.1"