Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Jul 29, 2019
1 parent 10a8733 commit 07bb88d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Features:
- Best accessibility practices baked in
- Flexible styling

**[Try it now!](#demo)**
**[Try it now!](https://codesandbox.io/s/basic-example-mppkz)**

## Install

Expand All @@ -25,7 +25,8 @@ functionality.

When user inputs query, autosuggest first checks if query has less than 2
characters. If it does, no results are returned, otherwise it fetches list of
countries and maps names to content and value which will be used for input value.
countries and maps names to content (which is country name wrapped in `b` HTML
tag) and value which will be used for `input` element value.

When user chooses option, closest `form` element submit event will be triggered.

Expand Down

0 comments on commit 07bb88d

Please sign in to comment.