# react-bootstrap-async-autocomplete

> Async autocomplete component using react-bootstrap

Latest version **0.0.3** (published 2014-12-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-bootstrap-async-autocomplete
pnpm add react-bootstrap-async-autocomplete
yarn add react-bootstrap-async-autocomplete
bun add react-bootstrap-async-autocomplete
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-12-04 |
| First published | 2014-10-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Niklas Närhinen |
| Maintainers | nnarhinen |
| Keywords | react, autocomplete |

## Links

- npm: https://www.npmjs.com/package/react-bootstrap-async-autocomplete
- Repository: https://github.com/nnarhinen/react-bootstrap-async-autocomplete
- Issues: https://github.com/nnarhinen/react-bootstrap-async-autocomplete/issues
- npm.io page: https://npm.io/package/react-bootstrap-async-autocomplete

## Dependencies (3)

- [bean](https://npm.io/package/bean.md) ^1.0.14
- [react](https://npm.io/package/react.md) ^0.12.1
- [react-bootstrap](https://npm.io/package/react-bootstrap.md) ^0.13.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2014-12-04
- 0.0.2 — 2014-12-04
- 0.0.1 — 2014-10-17

## README

react-bootstrap-async-autocomplete
==================================

An autocomplete input for react-bootstrap using an async datasource

Live demo: http://cdn.rawgit.com/nnarhinen/react-bootstrap-async-autocomplete/master/example/index.html

Source of demo: [example.js](example/example.js)

Installation
------------

`npm install react-bootstrap-async-autocomplete`

Usage
-----

```js
var AutocompleteInput = require('react-bootstrap-async-autocomplete');
    React = require('react');

var searchRequested = function(key, cb) {
  setTimeout(function() { //Emulate async
    var results = [];
    for (var i = 0; i < 10; i++) {
      results.push(key + i);
    }
    cb(results);
  }, 1000);
};

var itemSelected = function(itm) {
  alert(itm + ' selected');
};

//AutocompleteInput accepts all same props that react-bootstrap/Input
React.renderComponent(<AutoCompleteInput label="Some label" placeholder="Start typing.." onSearch={searchRequested} onItemSelect={itemSelected} />, document.body);
```

Author
------

Niklas Närhinen <niklas@narhinen.net>

License
-------

The MIT license

---
_Source: https://npm.io/package/react-bootstrap-async-autocomplete · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
