Skip to content

Commit f329e9d

Browse files
author
nitesh.singh
committed
Support for default dropdown incase of preselected value
1 parent 01ae2f0 commit f329e9d

File tree

5 files changed

+624
-31
lines changed

5 files changed

+624
-31
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ onChange(e_selected) {
8080
| `onSearch` | `function` | `func` | Callback function will invoked on change of input feild event (similar to onChange). Params are searchValue
8181
| `onChange` | `function` | `func` | Callback function will invoked on selection or removal of options. Params are selectedList
8282
| `disabled` | `boolean` | `false` | Make it `true` to disable the select input feild.
83-
| `selectedValue` | `array` | `[]` | Preselected value to persist in dropdown
83+
| `selectedValue` | `array` | `[]` | Default value to persist in dropdown
84+
| `showDefaultValue` | `bool` | `false` | Dropdown array list according to selectedValue only (It will only show selectedValue in dropdown)
8485
| `showCheckbox` | `bool` | `true` | To display checkbox option in the dropdown
8586
| `selectLimit` | `number` | `-1` | You can limit the number of items that can be selected in a dropdown
8687
| `placeholder` | `string` | `Select Area` | Placeholder text

0 commit comments

Comments
 (0)