Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@comparaonline/ui-autocomplete-textfield
Advanced tools
yarn add @comparaonline/ui-autocomplete-textfield
const items = [{
label: "item1",
value: 1
}, {
label: "item2",
value: 2
}];
<AutoCompleteTextField
items={items}
getItemLabel={item => item.label}
getItemValue={item => item.value}
textFieldProps={{
fullWidth: true,
label: 'Select car model',
variant: 'outlined'
}}
suggestionProps={{
noResultsText: 'No results',
maxDisplayedItems: 10
}}
/>
name | type | required | description |
---|---|---|---|
items | any | true | list of items to display |
getItemLabel | function: item => string | true | receive an item an return its label |
getItemValue | function: item => string | true | receive an item an return its value |
suggestionProps | object | true | autocomplete configuration |
textFieldProps | object | false | props used by material-ui Textfield |
searchOptions | object | false | configuration options used by fuse.js |
name | type | required | default | description |
---|---|---|---|---|
noResultsText | string | true | text to display when there are not suggestions | |
maxDisplayedItems | number | false | 5 | max number of suggestions to display |
FAQs
Unknown package
The npm package @comparaonline/ui-autocomplete-textfield receives a total of 2 weekly downloads. As such, @comparaonline/ui-autocomplete-textfield popularity was classified as not popular.
We found that @comparaonline/ui-autocomplete-textfield demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.