
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
react-multiselect-cascading-dropdowns
Advanced tools
A package to create multiple cascading dropdown filters for dashboard style bi-directional dependent filter implementations
A package to create multiple cascading dropdown filters for dashboard style bi-directional dependent filter implementations Based on react-multi-select-component
npm i react-multiselect-cascading-dropdowns # npm
yarn add react-multiselect-cascading-dropdowns # yarn
const Example = () => {
const ref = React.createRef();
const data_labels=['Fruit/Veg', 'Name', 'Color']
const data=[
["fruit","apple","red"],
["fruit","grape","purple"],
["fruit","banana","yellow"],
["veg","broccoli","green"],
["veg","pumpkin","orange"],
["veg","chilli","red"],
]
useEffect(() => {}, []);
function onChangeData(e) {
console.log(e);
}
function onClick() {
ref.current.clearFilters();
}
return (
<div>
<button onClick={onClick}>Clear All Filters</button>
<MultiselectCascadeFilter
ref={ref}
data={data}
n_items={3}
onChange={onChangeData}
showInactiveItems={true}
preserveInactiveSelections={false}
showLabel={true}
padding={'10px'}
margin={'20px'}
labels={data_labels}
singleSelect={[true, false, false, false, false]}
hasSelectAll={[false, true, true, true, true]}
shouldToggleOnHover={[false, false, false, false, false]}
debounceDuration={10}
closeOnChangedValue={[false, false, false, false, false]}
/>
</div>
);
};
export default Example;
For every release changelog/migration-guide will be available in releases
MIT © Rahul K
FAQs
A package to create multiple cascading dropdown filters for dashboard style bi-directional dependent filter implementations
The npm package react-multiselect-cascading-dropdowns receives a total of 0 weekly downloads. As such, react-multiselect-cascading-dropdowns popularity was classified as not popular.
We found that react-multiselect-cascading-dropdowns demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.