@@ -29,8 +29,8 @@ A lightweight and fast control to render a select component that can display hie
29
29
## Table of Contents
30
30
31
31
- [ Screenshot] ( #screenshot )
32
- - [ Demo] ( #example )
33
- - [ Vanilla ( no framework) ] ( #vanilla-no-framework )
32
+ - [ Demo] ( #demo )
33
+ - [ Vanilla, no framework] ( #vanilla-no-framework )
34
34
- [ With Bootstrap] ( #with-bootstrap )
35
35
- [ With Material Design] ( #with-material-design )
36
36
- [ As Single Select] ( #as-single-select )
@@ -44,36 +44,41 @@ A lightweight and fast control to render a select component that can display hie
44
44
- [ clearSearchOnChange] ( #clearsearchonchange )
45
45
- [ onChange] ( #onchange )
46
46
- [ onNodeToggle] ( #onnodetoggle )
47
+ - [ onAction] ( #onaction )
48
+ - [ onFocus] ( #onfocus )
49
+ - [ onBlur] ( #onblur )
47
50
- [ data] ( #data )
48
51
- [ texts] ( #texts )
49
52
- [ keepTreeOnSearch] ( #keeptreeonsearch )
50
53
- [ keepChildrenOnSearch] ( #keepchildrenonsearch )
51
54
- [ keepOpenOnSelect] ( #keepopenonselect )
52
55
- [ mode] ( #mode )
53
- - [ multiSelect] ( #multiSelect )
56
+ - [ multiSelect] ( #multiselect )
54
57
- [ hierarchical] ( #hierarchical )
55
- - [ simpleSelect] ( #simpleSelect )
56
- - [ radioSelect] ( #radioSelect )
58
+ - [ simpleSelect] ( #simpleselect )
59
+ - [ radioSelect] ( #radioselect )
57
60
- [ showPartiallySelected] ( #showpartiallyselected )
58
- - [ showDropdown] ( #showDropdown )
61
+ - [ showDropdown] ( #showdropdown )
59
62
- [ initial] ( #initial )
60
63
- [ always] ( #always )
61
- - [ form states (disabled|readOnly)] ( #formstates )
64
+ - [ form states (disabled|readOnly)] ( #form-states-disabled-readonly )
62
65
- [ id] ( #id )
63
66
- [ searchPredicate] ( #searchpredicate )
67
+ - [ inlineSearchInput] ( #inlinesearchinput )
64
68
- [ Styling and Customization] ( #styling-and-customization )
65
69
- [ Using default styles] ( #default-styles )
66
70
- [ Customizing with Bootstrap, Material Design styles] ( #customizing-styles )
71
+ - [ Keyboard navigation] ( #keyboard-navigation )
67
72
- [ Performance] ( #performance )
68
73
- [ Search optimizations] ( #search-optimizations )
69
74
- [ Search debouncing] ( #search-debouncing )
70
75
- [ Virtualized rendering] ( #virtualized-rendering )
71
76
- [ Reducing costly DOM manipulations] ( #reducing-costly-dom-manipulations )
72
- - [ Keyboard navigation] ( #keyboard-navigation )
73
77
- [ FAQ] ( #faq )
74
78
- [ Doing more with HOCs] ( /docs/HOC.md )
75
79
- [ Development] ( #development )
76
80
- [ License] ( #license )
81
+ - [ Contributors] ( #contributors )
77
82
78
83
## Screenshot
79
84
@@ -401,6 +406,12 @@ function searchPredicate(node, searchTerm) {
401
406
return < DropdownTreeSelect data= {data} searchPredicate= {searchPredicate} / >
402
407
```
403
408
409
+ ### inlineSearchInput
410
+
411
+ Type: ` bool ` (default: ` false ` )
412
+
413
+ ` inlineSearchInput=true ` makes the search input renders ** inside** the dropdown-content. This can be useful when your UX looks something like [ this comment] ( https://github.com/dowjones/react-dropdown-tree-select/issues/308#issue-526467109 ) .
414
+
404
415
## Styling and Customization
405
416
406
417
### Default styles
0 commit comments