
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@blaze-react/select
Advanced tools
The select component represents an input that provides a menu of options.
The select component represents an input that provides a menu of options.
const options = ["London", "Paris", "Munich"];
<Select
label="Select a city"
options={options}
onChange={({ event, value }) => {}}
required
/>;
const options = [
["08001", "Barcelona"],
["17006", "Madrid"],
];
<Select
label="Select label"
selected="08001"
options={options}
onChange={({ event, value }) => {}}
/>;
const arrayOfObjects = [
{
id: 1,
username: "Oscar",
age: 26,
},
{
id: 2,
username: "Ismael",
age: 23,
},
];
<Select
label="Select user"
selected="1"
options={options}
keys={["id", "username"]}
onChange={({ event, value }) => {}}
/>;
const disabled = ["17006"]
<Select label="Disabled option" onChange={({ event, value }) => {}} options={options} disabled={disabled} />
<Select label="Disabled" onChange={({ event, value }) => {}} options={[]} />
props
as follow:NAME | TYPE | DEFAULT |
---|---|---|
label | String | '' |
required | Boolean | false |
options | Array | [] |
selected | String | '' |
keys | Array | [] |
onChange | Function | () => {} |
disabled | Array | [] |
defaultTextValue | String | Please Choose... |
FAQs
The select component represents an input that provides a menu of options.
The npm package @blaze-react/select receives a total of 184 weekly downloads. As such, @blaze-react/select popularity was classified as not popular.
We found that @blaze-react/select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.