Skip to content

Commit 3b0753a

Browse files
Gregcop1mrchief
authored andcommitted
feat: Add possibility to clear search on node selection (#76)
1 parent 4fc88fb commit 3b0753a

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ A lightweight and fast control to render a select component that can display hie
4141
* [Usage](#usage)
4242
* [Props](#props)
4343
* [className](#classname)
44+
* [clearSearchOnChange](#clearsearchonchange)
4445
* [onChange](#onchange)
4546
* [onNodeToggle](#onnodetoggle)
4647
* [data](#data)
@@ -165,6 +166,12 @@ Type: `string`
165166

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

169+
### clearSearchOnChange
170+
171+
Type: `bool`
172+
173+
Clear the input search if a node has been selected/unselected.
174+
168175
### onChange
169176

170177
Type: `function`

0 commit comments

Comments
 (0)