Skip to content

Commit

Permalink
Merge pull request #460 from mgwojciech/dev
Browse files Browse the repository at this point in the history
#458 listPicker always return "test" when multiple allowed
  • Loading branch information
AJIXuMuK authored Jan 15, 2020
2 parents 65c974c + c3540d1 commit 6fdd7bb
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 6fdd7bb

Please sign in to comment.