Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-select-search
Advanced tools
React powered selectbox with filter using fuse.js (Javascript fuzzy-search).
This is a work in progress and it may be a little buggy at this time. But feel free to test it and report any found bugs.
Example design comes from the beautiful work by Rovane Durso.
Live demo can be found here: http://tbleckert.github.io/react-select-search/
Install it with npm (npm install react-select-search --save
) and require it like you normally would.
React.render(
<SelectSearch
name="country"
value="SE"
placeholder="Choose country"
className="my-selectbox"
options={objectWithOptions}
fuse={fuseJsOptions}
optionSelected={callbackWhenOptionMarked}
valueChanged={callbackWhenValueChanged}
renderOption={modifyOptionHtml}
onMount={componentDidMountCallback}
onFocus={searchFocusCallback}
onBlur={searchBlurCallback} />,
document.getElementById('selectSearch')
);
These are all available options. The React component renders a hidden field with the name property and the current value to use in forms.
FAQs
Lightweight select component for React
The npm package react-select-search receives a total of 15,810 weekly downloads. As such, react-select-search popularity was classified as popular.
We found that react-select-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.