You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGES: Support Search in destination column (#141)
* Use search HOC in destination list
* Use filteredItems as single source of items for destination list
* Support custom filterFunction for selected items
* added README
* added multi_select_state_utils
* added multi_select_state_utils
* split multi select state utils
* upgrade multi_select_state_utils
* reuse findItem
|`selectedItems`|`Array`|[]| selected list to start with (subgroup of items). |
83
+
|`onChange`|`function`| ()=>{} | callback for changed event. |
84
+
|`loading`|`boolean`| false | toggle to show loading indication. |
85
+
|`messages`|`Object`| {} | custom messages. Please see below for the availabale messages. |
86
+
|`showSearch `|`boolean`| true | toggle to show search option. |
87
+
|`showSelectAll`|`boolean`| true | toggle to show select all option in list. |
88
+
|`showSelectedItems`|`boolean`| true | toggle to show selected items right pane. |
89
+
|`wrapperClassName`|`String`| '' | wrapper class name - Used for customizing the style. |
90
+
|`height`|`number`| 400 | available items list height. |
91
+
|`itemHeight`|`number`| 40 | the height of an item in the list. |
92
+
|`selectedItemHeight`|`number`|`itemHeight`| the height of the selected item in the list. |
93
+
|`selectAllHeight`|`number`|`itemHeight`| the height of the selectAll component, by default will use the value of the itemHeight. |
94
+
|`maxSelectedItems`|`number`|| defines the maximum items that can be selected, overrides showSelectAll. |
95
+
|`filterFunction`|`function`| based on label | The function used to filter items based on the search query. |
96
+
|`searchRenderer`|`Component`|| Component to replace the default Search component. |
97
+
|`selectedItemRenderer`|`Component`|| Component to replace the default selected item component in the destination list. |
98
+
|`loaderRenderer`|`Component`|| Component to replace the default loader component. |
99
+
|`selectAllRenderer`|`Component`|| Component to replace the default select all component. |
100
+
|`itemRenderer`|`Component`|| Component to replace the default item component in the source list. |
101
+
|`selectionStatusRenderer`|`Component`|| Component to replace the default selection status component. |
102
+
|`noItemsRenderer`|`Component`|| Component to replace the default no items component. |
103
+
|`searchValue`|`string`|| The value of the search field. |
104
+
|`searchValueChanged`|`function`|| Function to handle the change of search field. Accepts value as a single argument. |
105
+
|`responsiveHeight`|`string`| 400px | Responsive height of the wrapping component, can send percent for example: `70%`|
106
+
|`withGrouping`|`boolean`| false | Your items will be grouped by the group prop values - see "item grouping" section below |
107
+
|`showSelectedItemsSearch`|`boolean`| false | toggle to show search option in detination list. |
108
+
|`searchSelectedItemsValue`|`string`|| The value of the search field for destination list. |
109
+
|`searchSelectedItemsChanged`|`function`|| Function to handle the change of search field for destination list. Accepts value as a single argument. |
110
+
|`selectedItemsFilterFunction`|`function`| based on label | Is the same as filterFunction by default to filter items based on the search query in destination list. |
0 commit comments