Skip to content

Commit

Permalink
#458 listPicker always return "test" when multiple allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Wojciechowski committed Jan 14, 2020
1 parent 3df2b77 commit c3540d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/listPicker/ListPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class ListPicker extends React.Component<IListPickerProps, IListPickerSta

if (multiSelect === true) {
// Check if option was selected
let selectedLists = this._selectedList ? cloneDeep(this._selectedList) as string[] : ["test"];
let selectedLists = this._selectedList ? cloneDeep(this._selectedList) as string[] : [];
if (option.selected) {
selectedLists.push(option.key as string);
} else {
Expand Down

0 comments on commit c3540d1

Please sign in to comment.