
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@elemental-ui-alpha/autocomplete
Advanced tools
The autocomplete component is an input field that provides selectable suggestions as a user types into it.
import { Autocomplete } from '@elemental-ui-alpha/autocomplete';
The autocomplete solution extends react-select. View the full API documentation on their website https://react-select.com. It allows users to quickly search through and select from large collections of options.
Select a single item from a list of options.
<Autocomplete
label="Select person"
options={[
{ label: 'Teresa Foster', value: 1 },
{ label: 'Jennifer Thompson', value: 2 },
{ label: 'Katherine Wilson', value: 3 },
{ label: 'Scott Morris', value: 4 },
{ label: 'Russell Lopez', value: 5 },
{ label: 'Gregory Long', value: 6 },
{ label: 'Tina Flores', value: 7 },
{ label: 'Ashley Johnson', value: 8 },
{ label: 'Jose Coleman', value: 9 },
{ label: 'Jessica Taylor', value: 10 },
]}
/>
Select multiple items from a list of options.
const options = [
{ label: 'Teresa Foster', value: 1 },
{ label: 'Jennifer Thompson', value: 2 },
{ label: 'Katherine Wilson', value: 3 },
{ label: 'Scott Morris', value: 4 },
{ label: 'Russell Lopez', value: 5 },
{ label: 'Gregory Long', value: 6 },
{ label: 'Tina Flores', value: 7 },
{ label: 'Ashley Johnson', value: 8 },
{ label: 'Jose Coleman', value: 9 },
{ label: 'Jessica Taylor', value: 10 },
];
return (
<Autocomplete
isMulti
label="Select person"
defaultValue={options.slice(0, 3)}
options={options}
/>
);
FAQs
The autocomplete component is an input field that provides selectable suggestions as a user types into it.
We found that @elemental-ui-alpha/autocomplete demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.