New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-autocompleter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-autocompleter - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

package.json
{
"name": "react-autocompleter",
"author": "Invertase",
"version": "1.0.8",
"version": "1.0.9",
"description": "A simple, configurable, styleable ReactJS component which completes your phrase with keyboard navigation support.",

@@ -9,4 +9,4 @@ "main": "./dist/AutoCompleter.js",

"react",
"react-component",
"ui",
"user",
"typeahead",

@@ -13,0 +13,0 @@ "autocomplete"

@@ -152,3 +152,3 @@ # React AutoCompleter

Triggered on input change, including the navigated and selected value.
Triggered on input change, including the navigated value.

@@ -172,2 +172,12 @@ ```

### Handling `onChange` & `onSelect`
Since clicking a filtered item does not trigger `onChange`, the item is passed as the callback on the `onSelect` function. There might be a case where your `onSelect` function needs to handle both the state value and the callback value:
```
selected = (value) => {
const input = !value ? this.state.url : value;
}
```
### Browser Autofill

@@ -174,0 +184,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc