Skip to content

Commit

Permalink
feat: Add possibility to clear search on node selection (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregcop1 authored and mrchief committed Apr 5, 2018
1 parent 4fc88fb commit 3b0753a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ A lightweight and fast control to render a select component that can display hie
* [Usage](#usage)
* [Props](#props)
* [className](#classname)
* [clearSearchOnChange](#clearsearchonchange)
* [onChange](#onchange)
* [onNodeToggle](#onnodetoggle)
* [data](#data)
Expand Down Expand Up @@ -165,6 +166,12 @@ Type: `string`

Additional classname for container. The container renders with a default classname of `react-dropdown-tree-select`.

### clearSearchOnChange

Type: `bool`

Clear the input search if a node has been selected/unselected.

### onChange

Type: `function`
Expand Down
Loading

0 comments on commit 3b0753a

Please sign in to comment.