Skip to content

Commit

Permalink
Support for default dropdown incase of preselected value
Browse files Browse the repository at this point in the history
  • Loading branch information
nitesh.singh committed Oct 12, 2022
1 parent 01ae2f0 commit f329e9d
Show file tree
Hide file tree
Showing 5 changed files with 624 additions and 31 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ onChange(e_selected) {
| `onSearch` | `function` | `func` | Callback function will invoked on change of input feild event (similar to onChange). Params are searchValue
| `onChange` | `function` | `func` | Callback function will invoked on selection or removal of options. Params are selectedList
| `disabled` | `boolean` | `false` | Make it `true` to disable the select input feild.
| `selectedValue` | `array` | `[]` | Preselected value to persist in dropdown
| `selectedValue` | `array` | `[]` | Default value to persist in dropdown
| `showDefaultValue` | `bool` | `false` | Dropdown array list according to selectedValue only (It will only show selectedValue in dropdown)
| `showCheckbox` | `bool` | `true` | To display checkbox option in the dropdown
| `selectLimit` | `number` | `-1` | You can limit the number of items that can be selected in a dropdown
| `placeholder` | `string` | `Select Area` | Placeholder text
Expand Down
Loading

0 comments on commit f329e9d

Please sign in to comment.