Skip to content

Commit 27adbb2

Browse files
committed
feat(MultiSelect): add the clearSearchOnSelect option to enable clearing the current search when selecting an item
1 parent f16d09b commit 27adbb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/content/forms/multi-select.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ const mulitSelectList = mulitSelectElementList.map(mulitSelectEl => {
335335
| --- | --- | --- | --- |
336336
| `ariaCleanerLabel`| string | `Clear all selections` | A string that provides an accessible label for the cleaner button. This label is read by screen readers to describe the action associated with the button. |
337337
| `cleaner`| boolean | `true` | Enables selection cleaner element. |
338+
| `clearSearchOnSelect`| boolean | `false` | Clear current search on selecting an item. |
338339
| `container` | string, element, false | `false` | Appends the dropdown to a specific element. Example: `container: 'body'`. |
339340
| `disabled` | boolean | `false` | Toggle the disabled state for the component. |
340341
| `invalid` | boolean | `false` | Toggle the invalid state for the component. |

0 commit comments

Comments
 (0)