Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-input-completion

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-input-completion

A cross-browser autocomplete component for React

  • 0.0.3
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-input-completion

A cross-browser autocomplete component for React. <InputCompletion> defaults to the native <datalist> and polyfills any unsupported browsers.

Usage:

<InputCompletion> wraps an input, and connects it to a list of options.

Props

onValueChange - Callback function for when input value changes. Arguments: DOMEvent, value. options - Array of suggestions to present to the user name - Unique identifier for the list

  <InputCompletion options={} name=''>
    <input />
  </InputCompletion>

Styles

Default styles (for fallback to match native) are available in react-input-completion.css.

Development

Installation

  1. npm i - Installs dependencies

Developing

  1. npm start - Compiles code, starts web server and demo page at localhost:3000.

Testing

  1. npm run test - Runs tests, and re-runs on file changes.

Deployment

  1. npm publish - Compiles code and publishes to npm.

Keywords

FAQs

Package last updated on 21 Aug 2015

Did you know?

Socket

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.

Install

Related posts

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