Open tarunkota opened 7 months ago
There is a bug in multiple selection. When I changed it as follows, it solved it, but an update is required.
MultipleSelectList.tsx
React.useEffect(() => {
setSelectedVal(defaultOption)
},[defaultOption])
defaultOption = []
const [selectedval, setSelectedVal] = React.useState
The project is nice, but it's terrible that it was published without checking and that so many people are trying to find a solution here.
@danish1658
Even when save="value", the default setSelected is sending key instead of value.