multiselect-react-dropdown
multiselect-react-dropdown copied to clipboard
Component has warning when used.
I noticed since using this, I have this red warning in my console:
app.js:62720 Warning: Received the string `true` for the boolean attribute `disabled`. Although this works, it will not work as expected if you pass the string "false". Did you mean disabled={true}?
I don't see a way for me to fix this without altering the package itself. The stack trace points here:
function OutsideAlerter(props) {
var wrapperRef = React.useRef(null);
useOutsideAlerter(wrapperRef, props.outsideClick);
return React__default.createElement("div", {
ref: wrapperRef
}, props.children);
}
Would it be much trouble to take care of this, or you have any recommendations on how I can squelch this warning myself?