
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@rowy/multiselect
Advanced tools
A component to select multiple items from a list of options using the [Material-UI Autocomplete component](https://material-ui.com/components/autocomplete/).
A component to select multiple items from a list of options using the Material-UI Autocomplete component.
To use, you must provide at least the value
, onChange
, and options
props.
You should also provide a label
and labelPlural
prop. By default, the
component is in multi-select mode and values are strings.
<MultiSelect
value={value} // From useState
onChange={setValue} // From useState
options={['The Shawshank Redemption', 'The Godfather', ...]}
label="Movie"
labelPlural="Movies"
/>
options
propThe simplest value for the options
prop is an array of strings.
If you need more control over the value returned by MultiSelect, pass an array
of Option
objects, which must follow this type:
type Option<T = string> = {
value: T;
label: string;
disabled?: boolean;
};
value
and onChange
prop types depend on the multiple
propvalue
must be an array of T
in multi-select mode.
In single-select mode, it must be either T
itself or null
.
The first parameter of onChange
follows the same type as value
.
FAQs
A component to select multiple items from a list of options using the [Material-UI Autocomplete component](https://material-ui.com/components/autocomplete/).
We found that @rowy/multiselect demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.